Freigeben über


Variant-Member

Geschützte Member einschließen
Geerbte Member einschließen

Variant.When the object is serialized out as xml, its qualified name is vt:variant.

Vom Variant-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Variant() Initializes a new instance of the Variant class.
Öffentliche Methode Variant(String) Initializes a new instance of the Variant class from outer XML.
Öffentliche Methode Variant(array<OpenXmlElement[]) Initializes a new instance of the Variant class with the specified child elements.
Öffentliche Methode Variant(IEnumerable<OpenXmlElement>) Initializes a new instance of the Variant class with the specified child elements.

Nach oben

Eigenschaften

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

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode AddAnnotation Adds an object to the annotation list of this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode AddNamespaceDeclaration Adds a namepace declaration to the current node. (Geerbt von OpenXmlElement.)
Öffentliche Methode Ancestors() Enumerate all the ancestor nodes of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotation(Type) Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotation<T>() Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotations(Type) Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotations<T>() Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Append(array<OpenXmlElement[]) Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode Append(IEnumerable<OpenXmlElement>) Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode ClearAllAttributes Clear all the attributes ( known attributes + extended attributes ) (Geerbt von OpenXmlElement.)
Öffentliche Methode Clone Creates a duplicate of this node. (Geerbt von OpenXmlElement.)
Öffentliche Methode CloneNode Creates a duplicate of this node. (Setzt OpenXmlElement.CloneNode(Boolean) außer Kraft.)
Öffentliche Methode Descendants<T>() Enumerate all the descendants elements (which type is T) of this element. Preorder traversering. (Geerbt von OpenXmlElement.)
Öffentliche Methode Elements<T>() Enumerate for specific type of elements in child elements (Geerbt von OpenXmlElement.)
Öffentliche Methode ElementsAfter Enumerate all the sibling elements after this element in same parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode ElementsBefore Enumerate all the sibling elements before this element in same parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetAttribute Gets a Open XML attribute with the specifed tag name and namespace URI. (Geerbt von OpenXmlElement.)
Öffentliche Methode GetAttributes Get a copy of all the attributes (Geerbt von OpenXmlElement.)
Öffentliche Methode GetEnumerator Returns an enumerator that iterates through the child collection. (Geerbt von OpenXmlElement.)
Öffentliche Methode GetFirstChild<T> Find the first child element in type T (Geerbt von OpenXmlElement.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertAfterSelf<T> Inserts the specified element immediately after this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertBeforeSelf<T> Inserts the specified element immediately before this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode IsAfter Determines if the current element appears after a specified element in document order. (Geerbt von OpenXmlElement.)
Öffentliche Methode IsBefore Determines if the current element appears before a specified element in document order. (Geerbt von OpenXmlElement.)
Öffentliche Methode LookupNamespace Resolve the namespace prefix in the context of current node (Geerbt von OpenXmlElement.)
Öffentliche Methode LookupPrefix Finds the corresponding prefix for a namespace uri in the current element scope. (Geerbt von OpenXmlElement.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode NextSibling() Gets the OpenXmlElement immediately following this OpenXmlElement. If there is no next OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.)
Öffentliche Methode PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode PreviousSibling() Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.)
Öffentliche Methode Remove Removes this element from its parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAllChildren Remove all the child elements (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode RemoveAnnotations(Type) Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAnnotations<T>() Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAttribute Remove the attribute from the element. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveChild<T>(T) Removes specified child element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode RemoveChild<T>(T) Removes specified child element. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveNamespaceDeclaration Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed. (Geerbt von OpenXmlElement.)
Öffentliche Methode ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode SetAttribute Set an attribute to the element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Geerbt von OpenXmlElement.)
Öffentliche Methode SetAttributes Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Geerbt von OpenXmlElement.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode WriteTo Saves the current node to the specified XmlWriter. (Geerbt von OpenXmlElement.)

Nach oben

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator (Geerbt von OpenXmlElement.)

Nach oben

Siehe auch

Referenz

Variant Klasse

DocumentFormat.OpenXml.VariantTypes-Namespace