Compartir a través de


OpenXmlSimpleValue<T> Implicit Conversion (OpenXmlSimpleValue<T> to T)

Implicit converter to T.

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

Syntax

'Declaración
Public Shared Widening Operator CType ( _
    xmlAttribute As OpenXmlSimpleValue(Of T) _
) As T
'Uso
Dim input As OpenXmlSimpleValue(Of T)
Dim output As T

output = CType(input, T)
public static implicit operator T (
    OpenXmlSimpleValue<T> xmlAttribute
)

Parameters

Return Value

Type: T
The internal value in OpenXmlSimpleValue.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

OpenXmlSimpleValue<T> Class

OpenXmlSimpleValue<T> Members

DocumentFormat.OpenXml Namespace