Click or drag to resize

PropVariant Methods

The PropVariant type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeserialize(Byte, Boolean)
Deserializes a PropVariant from the specified bytes.
Public methodStatic memberDeserialize(IntPtr, Int32, Boolean)
Deserializes a PropVariant from the specified buffer.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Finalizes an instance of the PropVariant class.
(Overrides ObjectFinalize.)
Public methodStatic memberGetObjectForNative
Converts a COM PROPVARIANT to an object.
Public methodSerialize
Serializes this instance into an array of bytes.
Public methodSerialize(Int32)
Serializes this instance in a buffer that is allocated for this matter.
Public methodStatic memberToBSTR
Creates a VT_BSTR PropVariant, as the default constructor used with a string creates a VT_LPWSTR PropVariant.
Public methodStatic memberToLPSTR
Creates a VT_LPSTR PropVariant, as the default constructor used with a string creates a VT_LPWSTR PropVariant.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also