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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the PropVariant class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetObjectForNative
Converts a COM PROPVARIANT to an object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from 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