Freigeben über


Variant Klasse

Definition

Variante.

Diese Klasse ist in Office 2007 und höher verfügbar.

Wenn das Objekt als XML serialisiert wird, lautet der qualifizierte Name vt:variant.

[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))]
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)]
[DocumentFormat.OpenXml.SchemaAttr(5, "variant")]
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr(5, "variant")]
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr("vt:variant")]
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr("vt:variant")]
public class Variant : DocumentFormat.OpenXml.TypedOpenXmlCompositeElement
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))]
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))]
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)]
public class Variant : DocumentFormat.OpenXml.OpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))>]
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)>]
[<DocumentFormat.OpenXml.SchemaAttr(5, "variant")>]
type Variant = class
    inherit OpenXmlCompositeElement
type Variant = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr(5, "variant")>]
type Variant = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr("vt:variant")>]
type Variant = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr("vt:variant")>]
type Variant = class
    inherit TypedOpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))>]
type Variant = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.Variant))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVector))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTArray))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOBlob))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTEmpty))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTNull))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedByte))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedShort))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt32))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInt64))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTUnsignedInteger))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFloat))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDouble))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDecimal))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTLPWSTR))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBString))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTDate))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTFileTime))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTBool))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTCurrency))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTError))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTOStorage))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTVStreamData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClassId))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.VariantTypes.VTClipboardData))>]
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)>]
type Variant = class
    inherit OpenXmlCompositeElement
Public Class Variant
Inherits OpenXmlCompositeElement
Public Class Variant
Inherits TypedOpenXmlCompositeElement
Vererbung
Vererbung
Attribute

Hinweise

[ISO/IEC 29500-1 1. Auflage]

variant (Variant)

Dieses Element kann genau ein untergeordnetes Element eines beliebigen Variantentyps enthalten. Dieses Element ist nur als untergeordnetes Element eines Vektor- oder Arrayvariantentyps gültig.

[Beispiel: Ein Vektor von Variantentypen:

<vt:vector baseType="variant">  
  <vt:variant>  
    <vt:i4>12</vt:i4>  
  </vt:variant>  
  <vt:variant>  
    <vt:lpstr>WorkSheets</vt:lpstr>  
  </vt:variant>  
</vt:vector>  

Ende des Beispiels]

Übergeordnete Elemente
Array (§22.4.2.1); variant (§22.4.2.32); vector (§22.4.2.33)
Untergeordnete Elemente Subclause
Array (Array) §22.4.2.1
Blob (Binäres Blob) §22.4.2.2
bool (Boolean) §22.4.2.3
bstr (Basic String) §22.4.2.4
clsid (Klassen-ID) §22.4.2.5
cy (Währung) §22.4.2.6
date (Datum und Uhrzeit) §22.4.2.7
Dezimal (Dezimal) §22.4.2.8
empty (Empty) §22.4.2.9
error (Fehlerstatuscode) §22.4.2.10
filetime (File Time) §22.4.2.11
i1 (1-Byte-Ganzzahl mit Vorzeichen) §22.4.2.12
i2 (2-Byte-Ganzzahl mit Vorzeichen) §22.4.2.13
i4 (4-Byte-Ganzzahl mit Vorzeichen) §22.4.2.14
i8 (8-Byte-Ganzzahl mit Vorzeichen) §22.4.2.15
int (Integer) §22.4.2.16
lpstr (LPSTR) §22.4.2.17
lpwstr (LPWSTR) §22.4.2.18
NULL (NULL) §22.4.2.19
oblob (Binary Blob Object) §22.4.2.20
ostorage (Binary Storage Object) §22.4.2.21
ostream (Binary Stream Object) §22.4.2.22
r4 (reelle 4-Byte-Zahl) §22.4.2.23
r8 (reelle 8-Byte-Zahl) §22.4.2.24
Speicher (Binärer Speicher) §22.4.2.25
Stream (Binärer Stream) §22.4.2.26
ui1 (1-Byte-Ganzzahl ohne Vorzeichen) §22.4.2.27
ui2 (2-Byte-Ganzzahl ohne Vorzeichen) §22.4.2.28
ui4 (4-Byte-Ganzzahl ohne Vorzeichen) §22.4.2.29
ui8 (8-Byte-Ganzzahl ohne Vorzeichen) §22.4.2.30
uint (Ganze Zahl ohne Vorzeichen) §22.4.2.31
variant (Variant) §22.4.2.32
vector (Vector) §22.4.2.33
vstream (Binärdatenstrom mit Versionsverwaltung) §22.4.2.34

[Hinweis: Die W3C-XML-Schemadefinition des Inhaltsmodells (CT_Variant) dieses Elements befindet sich in §A.6.4. Ende des Hinweises]

ISO/IEC29500: 2008.

Konstruktoren

Variant()

Initialisiert einen neuen instance der Variant-Klasse.

Variant(IEnumerable<OpenXmlElement>)

Initialisiert einen neuen instance der Variant-Klasse mit den angegebenen untergeordneten Elementen.

Variant(OpenXmlElement[])

Initialisiert einen neuen instance der Variant-Klasse mit den angegebenen untergeordneten Elementen.

Variant(String)

Initialisiert eine neue instance der Variant-Klasse aus äußerem XML.

Eigenschaften

ChildElements

Ruft alle untergeordneten Knoten des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
ExtendedAttributes

Ruft alle erweiterten Attribute (Attribute, die im Schema nicht definiert sind) des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
Features

Ruft ein IFeatureCollection für das aktuelle Element ab. Diese Featuresammlung ist schreibgeschützt, erbt jedoch Features von ihrem übergeordneten Teil und Paket, falls verfügbar.

(Geerbt von OpenXmlElement)
FirstChild

Ruft das erste untergeordnete Element des aktuellen OpenXmlElement-Elements ab.

(Geerbt von OpenXmlCompositeElement)
HasAttributes

Ruft einen Wert ab, der angibt, ob das aktuelle Element über Attribute verfügt.

(Geerbt von OpenXmlElement)
HasChildren

Ruft einen Wert ab, der angibt, ob das aktuelle Element über untergeordnete Elemente verfügt.

(Geerbt von OpenXmlCompositeElement)
InnerText

Ruft die verketteten Werte des aktuellen Knotens und aller untergeordneten Elemente ab oder legt diese fest.

(Geerbt von OpenXmlCompositeElement)
InnerVariant

Variante.

Stellt das folgende Elementtag im Schema dar: vt:variant.

InnerXml

Ruft das Markup ab, das nur die untergeordneten Knoten des aktuellen Knotens darstellt, oder legt dieses fest.

(Geerbt von OpenXmlCompositeElement)
LastChild

Ruft das letzte untergeordnete Element des aktuellen OpenXmlElement-Elements ab. Gibt null (Nothing in Visual Basic) zurück, wenn kein solches OpenXmlElement-Element vorhanden ist.

(Geerbt von OpenXmlCompositeElement)
LocalName

Variante.

Diese Klasse ist in Office 2007 und höher verfügbar.

Wenn das Objekt als XML serialisiert wird, lautet der qualifizierte Name vt:variant.

LocalName

Ruft den lokalen Namen des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
MCAttributes

Ruft die Markupkompatibilitätsattribute ab oder legt sie fest. Gibt NULL zurück, wenn für das aktuelle Element keine Markupkompatibilitätsattribute definiert sind.

(Geerbt von OpenXmlElement)
NamespaceDeclarations

Ruft alle im aktuellen Element definierten Namespacedeklarationen ab. Gibt einen leeren Enumerator zurück, wenn keine Namespacedeklaration vorhanden ist.

(Geerbt von OpenXmlElement)
NamespaceUri

Ruft den Namespace-URI des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
OpenXmlElementContext

Ruft den OpenXmlElementContext des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
OuterXml

Ruft das Markup ab, das das aktuelle Element und alle untergeordneten Elemente darstellt.

(Geerbt von OpenXmlElement)
Parent

Ruft das übergeordnete Element des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
Prefix

Ruft das Namespacepräfix des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
VTArray

Array.

Stellt das folgende Elementtag im Schema dar: vt:array.

VTBlob

Binäres Blob.

Stellt das folgende Elementtag im Schema dar: vt:blob.

VTBool

Boolean.

Stellt das folgende Elementtag im Schema dar: vt:bool.

VTBString

Einfache Zeichenfolge.

Stellt das folgende Elementtag im Schema dar: vt:bstr.

VTByte

1-Byte-Ganzzahl mit Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:i1.

VTClassId

Klassen-ID.

Stellt das folgende Elementtag im Schema dar: vt:clsid.

VTClipboardData

Zwischenablagedaten.

Stellt das folgende Elementtag im Schema dar: vt:cf.

VTCurrency

Währung.

Stellt das folgende Elementtag im Schema dar: vt:cy.

VTDate

Datum und Uhrzeit.

Stellt das folgende Elementtag im Schema dar: vt:date.

VTDecimal

Dezimal

Stellt das folgende Elementtag im Schema dar: vt:decimal.

VTDouble

Reelle 8-Byte-Zahl.

Stellt das folgende Elementtag im Schema dar: vt:r8.

VTEmpty

Leer

Stellt das folgende Elementtag im Schema dar: vt:empty.

VTError

Fehlerstatuscode.

Stellt das folgende Elementtag im Schema dar: vt:error.

VTFileTime

Dateizeit.

Stellt das folgende Elementtag im Schema dar: vt:filetime.

VTFloat

Reelle 4-Byte-Zahl.

Stellt das folgende Elementtag im Schema dar: vt:r4.

VTInt32

4-Byte-Ganzzahl mit Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:i4.

VTInt64

8-Byte-Ganzzahl mit Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:i8.

VTInteger

Ganzzahl.

Stellt das folgende Elementtag im Schema dar: vt:int.

VTLPSTR

LPSTR.

Stellt das folgende Elementtag im Schema dar: vt:lpstr.

VTLPWSTR

LPWSTR.

Stellt das folgende Elementtag im Schema dar: vt:lpwstr.

VTNull

Null.

Stellt das folgende Elementtag im Schema dar: vt:null.

VTOBlob

Binäres Blobobjekt.

Stellt das folgende Elementtag im Schema dar: vt:oblob.

VTOStorage

Binäres Speicherobjekt.

Stellt das folgende Elementtag im Schema dar: vt:ostorage.

VTOStreamData

Binäres Streamobjekt.

Stellt das folgende Elementtag im Schema dar: vt:ostream.

VTShort

2-Byte-Ganzzahl mit Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:i2.

VTStorage

Binärer Speicher.

Stellt das folgende Elementtag im Schema dar: vt:storage.

VTStreamData

Binärdatenstrom.

Stellt das folgende Elementtag im Schema dar: vt:stream.

VTUnsignedByte

1-Byte-Ganzzahl ohne Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:ui1.

VTUnsignedInt32

4-Byte-Ganzzahl ohne Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:ui4.

VTUnsignedInt64

8-Byte-Ganzzahl ohne Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:ui8.

VTUnsignedInteger

Ganze Zahl ohne Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:uint.

VTUnsignedShort

2-Byte Integer ohne Vorzeichen.

Stellt das folgende Elementtag im Schema dar: vt:ui2.

VTVector

Vektor.

Stellt das folgende Elementtag im Schema dar: vt:vector.

VTVStreamData

Binärdatenstrom mit Versionsverwaltung.

Stellt das folgende Elementtag im Schema dar: vt:vstream.

XmlQualifiedName

Ruft den qualifizierten Namen des aktuellen Elements ab.

(Geerbt von OpenXmlElement)
XName

Ruft den qualifizierten Namen des aktuellen Elements ab.

(Geerbt von OpenXmlElement)

Methoden

AddAnnotation(Object)

Fügt der Liste der Anmerkungen des aktuellen OpenXmlElement-Elements ein -Objekt hinzu.

(Geerbt von OpenXmlElement)
AddChild(OpenXmlElement, Boolean)

Fügt dem Element das angegebene Element hinzu, wenn es sich um ein bekanntes untergeordnetes Element handelt. Dadurch wird das -Element an der richtigen Position gemäß dem Schema hinzugefügt.

(Geerbt von OpenXmlCompositeElement)
AddNamespaceDeclaration(String, String)

Fügt dem aktuellen Knoten eine Namespacedeklaration hinzu.

(Geerbt von OpenXmlElement)
Ancestors()

Listet alle Vorgängerelemente des aktuellen Elements auf.

(Geerbt von OpenXmlElement)
Ancestors<T>()

Listet nur die Vorgänger des aktuellen Elements auf, die den angegebenen Typ aufweisen.

(Geerbt von OpenXmlElement)
Annotation(Type)

Ruft das erste Anmerkungsobjekt des angegebenen Typs aus dem aktuellen OpenXmlElement-Element ab.

(Geerbt von OpenXmlElement)
Annotation<T>()

Ruft das erste Anmerkungsobjekt des angegebenen Typs aus dem aktuellen OpenXmlElement-Element ab.

(Geerbt von OpenXmlElement)
Annotations(Type)

Ruft eine Auflistung von Anmerkungen mit dem angegebenen Typ für das aktuelle OpenXmlElement-Element ab.

(Geerbt von OpenXmlElement)
Annotations<T>()

Ruft eine Auflistung von Anmerkungen mit dem angegebenen Typ für das aktuelle OpenXmlElement-Element ab.

(Geerbt von OpenXmlElement)
Append(IEnumerable<OpenXmlElement>)

Fügt jedes Element aus einer Liste von Elementen an das Ende der Liste der untergeordneten Elemente des aktuellen Elements an.

(Geerbt von OpenXmlElement)
Append(OpenXmlElement[])

Fügt jedes Element aus einem Array von Elementen an das Ende der Liste der untergeordneten Elemente des aktuellen Elements an.

(Geerbt von OpenXmlElement)
AppendChild<T>(T)

Fügt das angegebene Element am Ende der Liste der untergeordneten Knoten des aktuellen Elements an.

(Geerbt von OpenXmlCompositeElement)
ClearAllAttributes()

Löscht alle Attribute, einschließlich bekannter und erweiterter Attribute.

(Geerbt von OpenXmlElement)
Clone()

Erstellt ein Duplikat des aktuellen Knotens.

(Geerbt von OpenXmlElement)
CloneNode(Boolean)

Erstellt ein Duplikat dieses Knotens.

Descendants()

Listet alle Nachfolger des aktuellen Elements auf.

(Geerbt von OpenXmlElement)
Descendants<T>()

Listet alle Nachfolger des aktuellen Elements vom Typ T auf.

(Geerbt von OpenXmlElement)
Elements()

Listet alle untergeordneten Elemente des aktuellen Elements auf.

(Geerbt von OpenXmlElement)
Elements<T>()

Listet nur die untergeordneten Elemente des aktuellen Elements auf, die den angegebenen Typ aufweisen.

(Geerbt von OpenXmlElement)
ElementsAfter()

Listet alle gleichgeordneten Elemente auf, die dem aktuellen Element folgen und dasselbe übergeordnete Element wie das aktuelle Element haben.

(Geerbt von OpenXmlElement)
ElementsBefore()

Listet alle gleichgeordneten Elemente auf, die dem aktuellen Element vorausgehen und dasselbe übergeordnete Element wie das aktuelle Element haben.

(Geerbt von OpenXmlElement)
GetAttribute(String, String)

Ruft ein Open XML-Attribut mit dem angegebenen Tagnamen und Namespace-URI ab.

(Geerbt von OpenXmlElement)
GetAttributes()

Ruft eine Liste ab, die eine Kopie aller Attribute enthält.

(Geerbt von OpenXmlElement)
GetEnumerator()

Gibt einen Enumerator zurück, der die untergeordnete Auflistung durchläuft.

(Geerbt von OpenXmlElement)
GetFirstChild<T>()

Sucht das erste untergeordnete Element im Typ T.

(Geerbt von OpenXmlElement)
InsertAfter<T>(T, OpenXmlElement)

Fügt das angegebene Element unmittelbar nach dem angegebenen Verweiselement ein.

(Geerbt von OpenXmlCompositeElement)
InsertAfterSelf<T>(T)

Fügt das angegebene Element unmittelbar nach dem aktuellen Element ein.

(Geerbt von OpenXmlElement)
InsertAt<T>(T, Int32)

Fügt das angegebene Element am angegebenen Index der untergeordneten Elemente des aktuellen Elements ein.

(Geerbt von OpenXmlCompositeElement)
InsertBefore<T>(T, OpenXmlElement)

Fügt das angegebene Element unmittelbar vor dem angegebenen Verweiselement ein.

(Geerbt von OpenXmlCompositeElement)
InsertBeforeSelf<T>(T)

Fügt das angegebene Element unmittelbar vor dem aktuellen Element ein.

(Geerbt von OpenXmlElement)
IsAfter(OpenXmlElement)

Bestimmt, ob das aktuelle Element nach einem angegebenen Element in Dokumentreihenfolge angezeigt wird.

(Geerbt von OpenXmlElement)
IsBefore(OpenXmlElement)

Bestimmt, ob das aktuelle Element vor einem angegebenen Element in Dokumentreihenfolge angezeigt wird.

(Geerbt von OpenXmlElement)
LookupNamespace(String)

Löst das Namespacepräfix im Kontext des aktuellen Knotens auf.

(Geerbt von OpenXmlElement)
LookupPrefix(String)

Sucht das entsprechende Präfix für einen Namespace-URI im aktuellen Elementbereich.

(Geerbt von OpenXmlElement)
NextSibling()

Ruft das OpenXmlElement-Element ab, das unmittelbar auf das aktuelle OpenXmlElement-Element folgt. Gibt null (Nothing in Visual Basic) zurück, wenn kein nächstes OpenXmlElement-Element vorhanden ist.

(Geerbt von OpenXmlElement)
NextSibling<T>()

Ruft das OpenXmlElement-Element mit dem angegebenen Typ ab, der auf das aktuelle OpenXmlElement-Element folgt. Gibt null (Nothing in Visual Basic) zurück, wenn kein nächstes OpenXmlElement vorhanden ist.

(Geerbt von OpenXmlElement)
PrependChild<T>(T)

Fügt das angegebene Element am Anfang der Liste der untergeordneten Knoten des aktuellen Elements ein.

(Geerbt von OpenXmlCompositeElement)
PreviousSibling()

Ruft das OpenXmlElement-Element ab, das unmittelbar vor dem aktuellen OpenXmlElement-Element steht. Gibt null (Nothing in Visual Basic ) zurück, wenn kein vorangehendes OpenXmlElement-Element vorhanden ist.

(Geerbt von OpenXmlElement)
PreviousSibling<T>()

Ruft das OpenXmlElement-Element mit dem angegebenen Typ ab, der dem aktuellen OpenXmlElement vorangestellt ist. Gibt null (Nothing in Visual Basic) zurück, wenn kein vorheriges OpenXmlElement-Element vorhanden ist.

(Geerbt von OpenXmlElement)
Remove()

Entfernt das aktuelle Element aus dem übergeordneten Element.

(Geerbt von OpenXmlElement)
RemoveAllChildren()

Entfernt alle untergeordneten Elemente des aktuellen Elements.

(Geerbt von OpenXmlCompositeElement)
RemoveAllChildren<T>()

Entfernen Sie alle untergeordneten Elemente des aktuellen Elements vom Typ T.

(Geerbt von OpenXmlElement)
RemoveAnnotations(Type)

Entfernt die Anmerkungen des angegebenen Typs aus dem aktuellen OpenXmlElement-Element.

(Geerbt von OpenXmlElement)
RemoveAnnotations<T>()

Entfernt die Anmerkungen mit dem angegebenen Typ aus dem aktuellen OpenXmlElement-Element.

(Geerbt von OpenXmlElement)
RemoveAttribute(String, String)

Entfernt das Attribut aus dem aktuellen Element.

(Geerbt von OpenXmlElement)
RemoveChild<T>(T)

Entfernt das angegebene untergeordnete Element.

(Geerbt von OpenXmlCompositeElement)
RemoveNamespaceDeclaration(String)

Entfernt die Namespacedeklaration für das angegebene Präfix. Entfernt nichts, wenn kein Präfix vorhanden ist.

(Geerbt von OpenXmlElement)
ReplaceChild<T>(OpenXmlElement, T)

Ersetzt eines der untergeordneten Elemente des aktuellen Elements durch ein anderes OpenXmlElement-Element.

(Geerbt von OpenXmlCompositeElement)
SetAttribute(OpenXmlAttribute)

Legt ein Attribut auf das angegebene Element fest. Wenn das Attribut ein bekanntes Attribut ist, wird der Wert des Attributs festgelegt. Wenn es sich bei dem Attribut um ein erweitertes Attribut handelt, wird das "openxmlAttribute" der Liste der erweiterten Attribute hinzugefügt.

(Geerbt von OpenXmlElement)
SetAttributes(IEnumerable<OpenXmlAttribute>)

Legt eine Reihe von Attributen für das -Element fest. Wenn ein Attribut ein bekanntes Attribut ist, wird der Wert des Attributs festgelegt. Wenn ein Attribut ein erweitertes Attribut ist, wird das "openxmlAttribute" der Liste der erweiterten Attribute hinzugefügt.

(Geerbt von OpenXmlElement)
WriteTo(XmlWriter)

Speichert den aktuellen Knoten im angegebenen XmlWriter.

(Geerbt von OpenXmlElement)

Explizite Schnittstellenimplementierungen

IEnumerable.GetEnumerator()

Variante.

Diese Klasse ist in Office 2007 und höher verfügbar.

Wenn das Objekt als XML serialisiert wird, lautet der qualifizierte Name vt:variant.

(Geerbt von OpenXmlElement)
IEnumerable<OpenXmlElement>.GetEnumerator()

Gibt einen Enumerator zurück, der die untergeordnete Auflistung durchläuft.

(Geerbt von OpenXmlElement)

Gilt für: