ChildElementInfoAttribute Constructor (Type, FileFormatVersions)

Initialize a new instance of ChildElementTypeAttribute.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Sub New ( _
    elementType As Type, _
    availableInOfficeVersion As FileFormatVersions _
)
'Usage
Dim elementType As Type
Dim availableInOfficeVersion As FileFormatVersions

Dim instance As New ChildElementInfoAttribute(elementType, _
    availableInOfficeVersion)
public ChildElementInfoAttribute(
    Type elementType,
    FileFormatVersions availableInOfficeVersion
)

Parameters

  • elementType
    Type: System.Type
    Specifies the type of the possible child element.

See Also

Reference

ChildElementInfoAttribute Class

ChildElementInfoAttribute Members

ChildElementInfoAttribute Overload

DocumentFormat.OpenXml Namespace