OpenXmlSimpleValue<T> Implicit-Konvertierung (OpenXmlSimpleValue<T> to T)
Implicit converter to T.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
xmlAttribute As OpenXmlSimpleValue(Of T) _
) As T
'Usage
Dim input As OpenXmlSimpleValue(Of T)
Dim output As T
output = CType(input, T)
public static implicit operator T (
OpenXmlSimpleValue<T> xmlAttribute
)
Parameter
- xmlAttribute
Typ: DocumentFormat.OpenXml.OpenXmlSimpleValue<T>
The OpenXmlSimpleValue instance.
Rückgabewert
Typ: T
The internal value in OpenXmlSimpleValue.
Ausnahmen
Ausnahme | Bedingung |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |