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:  callback.ShellBoost.Core.WindowsPropertySystem
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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