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.
- availableInOfficeVersion
Type: DocumentFormat.OpenXml.FileFormatVersions
Specifies the office version(s) where the child element is available.
See Also
Reference
ChildElementInfoAttribute Class
ChildElementInfoAttribute Members