Variant Properties

Include Protected Members
Include Inherited Members

The Variant type exposes the following members.

Properties

  Name Description
Public property ChildElements Gets all the child nodes of this element. (Inherited from OpenXmlElement.)
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.)
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.)
Public property HasChildren Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlCompositeElement.)
Public property InnerText Gets or sets the concatenated values of the node and all its children. (Inherited from OpenXmlCompositeElement.)
Public property InnerVariant Variant.Represents the element tag in schema: vt:variant
Public property InnerXml Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlCompositeElement.)
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property LocalName Gets the local name of the element. (Overrides OpenXmlElement.LocalName.)
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.)
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.)
Public property NamespaceUri Gets the namespace URI of this node. (Inherited from OpenXmlElement.)
Public property OpenXmlElementContext Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.)
Public property OuterXml Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.)
Public property Parent Gets the parent of this element. (Inherited from OpenXmlElement.)
Public property Prefix Gets the namespace prefix of this node. (Inherited from OpenXmlElement.)
Public property VTArray Array.Represents the element tag in schema: vt:array
Public property VTBlob Binary Blob.Represents the element tag in schema: vt:blob
Public property VTBool Boolean.Represents the element tag in schema: vt:bool
Public property VTBString Basic String.Represents the element tag in schema: vt:bstr
Public property VTByte 1-Byte Signed Integer.Represents the element tag in schema: vt:i1
Public property VTClassId Class ID.Represents the element tag in schema: vt:clsid
Public property VTClipboardData Clipboard Data.Represents the element tag in schema: vt:cf
Public property VTCurrency Currency.Represents the element tag in schema: vt:cy
Public property VTDate Date and Time.Represents the element tag in schema: vt:date
Public property VTDecimal Decimal.Represents the element tag in schema: vt:decimal
Public property VTDouble 8-Byte Real Number.Represents the element tag in schema: vt:r8
Public property VTEmpty Empty.Represents the element tag in schema: vt:empty
Public property VTError Error Status Code.Represents the element tag in schema: vt:error
Public property VTFileTime File Time.Represents the element tag in schema: vt:filetime
Public property VTFloat 4-Byte Real Number.Represents the element tag in schema: vt:r4
Public property VTInt32 4-Byte Signed Integer.Represents the element tag in schema: vt:i4
Public property VTInt64 8-Byte Signed Integer.Represents the element tag in schema: vt:i8
Public property VTInteger Integer.Represents the element tag in schema: vt:int
Public property VTLPSTR LPSTR.Represents the element tag in schema: vt:lpstr
Public property VTLPWSTR LPWSTR.Represents the element tag in schema: vt:lpwstr
Public property VTNull Null.Represents the element tag in schema: vt:null
Public property VTOBlob Binary Blob Object.Represents the element tag in schema: vt:oblob
Public property VTOStorage Binary Storage Object.Represents the element tag in schema: vt:ostorage
Public property VTOStreamData Binary Stream Object.Represents the element tag in schema: vt:ostream
Public property VTShort 2-Byte Signed Integer.Represents the element tag in schema: vt:i2
Public property VTStorage Binary Storage.Represents the element tag in schema: vt:storage
Public property VTStreamData Binary Stream.Represents the element tag in schema: vt:stream
Public property VTUnsignedByte 1-Byte Unsigned Integer.Represents the element tag in schema: vt:ui1
Public property VTUnsignedInt32 4-Byte Unsigned Integer.Represents the element tag in schema: vt:ui4
Public property VTUnsignedInt64 8-Byte Unsigned Integer.Represents the element tag in schema: vt:ui8
Public property VTUnsignedInteger Unsigned Integer.Represents the element tag in schema: vt:uint
Public property VTUnsignedShort 2-Byte Unsigned Integer.Represents the element tag in schema: vt:ui2
Public property VTVector Vector.Represents the element tag in schema: vt:vector
Public property VTVStreamData Binary Versioned Stream.Represents the element tag in schema: vt:vstream
Public property XmlQualifiedName Gets the qualified name of the node. (Inherited from OpenXmlElement.)

Top

See Also

Reference

Variant Class

DocumentFormat.OpenXml.VariantTypes Namespace