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 public static PropVariant ToBSTR(
string text
)
Parameters
- text
- Type: SystemString
The text.
Return Value
Type:
PropVariantAn instance of the PropVariant class.
See Also