Click or drag to resize

PropVariantToBSTR Method

Creates a VT_BSTR PropVariant, as the default constructor used with a string creates a VT_LPWSTR PropVariant.

Namespace:  ShellBoost.Core.WindowsPropertySystem
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static PropVariant ToBSTR(
	string text
)

Parameters

text
Type: SystemString
The text.

Return Value

Type: PropVariant
An instance of the PropVariant class.
See Also