Freigeben über


EnumValue<T> Implicit-Konvertierung (T to EnumValue<T>)

Implicit converter from enum.

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

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    value As T _
) As EnumValue(Of T)
'Usage
Dim input As T
Dim output As EnumValue(Of T)

output = CType(input, EnumValue(Of T))
public static implicit operator EnumValue<T> (
    T value
)

Parameter

  • value
    Typ: T
    The value with type T

Rückgabewert

Typ: DocumentFormat.OpenXml.EnumValue<T>
A new EnumValue instance with the value.

Siehe auch

Referenz

EnumValue<T> Klasse

EnumValue<T>-Member

Implicit Überladung

DocumentFormat.OpenXml-Namespace