System.Runtime.InteropServices.UnmanagedType.LPWStr Field

A 2-byte, null-terminated Unicode character string.

Value: LPWStr

Syntax

UnmanagedType LPWStr

Remarks

Note that you cannot use the UnmanagedType.LPWStr value with an unmanaged string unless the string was created by using the unmanaged CoTaskMemAlloc function.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0