EnumValue<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumValue<T>() |
Initializes a new instance of the EnumValue<T> class. |
EnumValue<T>(EnumValue<T>) |
Initializes a new instance of the EnumValue<T> by deep copying the supplied EnumValue<T> class. |
EnumValue<T>(T) |
Initializes a new instance of the EnumValue<T> class using the supplied value of type T. |
EnumValue<T>()
Initializes a new instance of the EnumValue<T> class.
public EnumValue ();
Public Sub New ()
Applies to
EnumValue<T>(EnumValue<T>)
Initializes a new instance of the EnumValue<T> by deep copying the supplied EnumValue<T> class.
public EnumValue (DocumentFormat.OpenXml.EnumValue<T> source);
new DocumentFormat.OpenXml.EnumValue<'T (requires 'T : struct)> : DocumentFormat.OpenXml.EnumValue<'T (requires 'T : struct)> -> DocumentFormat.OpenXml.EnumValue<'T (requires 'T : struct)>
Public Sub New (source As EnumValue(Of T))
Parameters
- source
- EnumValue<T>
The source EnumValue<T> class.
Applies to
EnumValue<T>(T)
Initializes a new instance of the EnumValue<T> class using the supplied value of type T.
public EnumValue (T value);
new DocumentFormat.OpenXml.EnumValue<'T (requires 'T : struct)> : 'T -> DocumentFormat.OpenXml.EnumValue<'T (requires 'T : struct)>
Public Sub New (value As T)
Parameters
- value
- T
The value of type T.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for