BStrWrapper Constructor (Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the BStrWrapper class with the specified Object object.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public BStrWrapper(
	object value
)

Parameters

value
Type: System.Object

The object to wrap and marshal as VT_BSTR.

SecurityPermission

For permission to call unmanaged code. Security action: Demand. Associated enumeration: SecurityPermissionFlag.UnmanagedCode

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: