Share via


BStrWrapper 构造函数

定义

重载

BStrWrapper(Object)

使用指定的 Object 对象初始化 BStrWrapper 类的新实例。

BStrWrapper(String)

使用指定的 String 对象初始化 BStrWrapper 类的新实例。

BStrWrapper(Object)

Source:
BStrWrapper.cs
Source:
BStrWrapper.cs
Source:
BStrWrapper.cs

使用指定的 Object 对象初始化 BStrWrapper 类的新实例。

public:
 BStrWrapper(System::Object ^ value);
public BStrWrapper (object value);
public BStrWrapper (object? value);
new System.Runtime.InteropServices.BStrWrapper : obj -> System.Runtime.InteropServices.BStrWrapper
Public Sub New (value As Object)

参数

value
Object

要包装并作为 VT_BSTR 进行封送的对象。

适用于

BStrWrapper(String)

Source:
BStrWrapper.cs
Source:
BStrWrapper.cs
Source:
BStrWrapper.cs

使用指定的 String 对象初始化 BStrWrapper 类的新实例。

public:
 BStrWrapper(System::String ^ value);
public BStrWrapper (string value);
public BStrWrapper (string? value);
new System.Runtime.InteropServices.BStrWrapper : string -> System.Runtime.InteropServices.BStrWrapper
Public Sub New (value As String)

参数

value
String

要包装并作为 VT_BSTR 进行封送的对象。

适用于