We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3edf6e commit cdce86bCopy full SHA for cdce86b
docs/standard/native-interop/type-marshalling.md
@@ -12,7 +12,7 @@ Marshalling is needed because the types in the managed and unmanaged code are di
12
13
```csharp
14
[LibraryImport("somenativelibrary.dll")]
15
-static extern int MethodA([MarshalAs(UnmanagedType.LPStr)] string parameter);
+static extern int MethodA([MarshalAs(UnmanagedType.LPUTF8Str)] string parameter);
16
17
// or
18
0 commit comments