XmlSerializationWriter.FromEnum Method
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.
Takes a numeric enumeration value and returns a string that consists of delimited identifiers that represent the enumeration members that have been set.
Overloads
FromEnum(Int64, String[], Int64[]) |
This API supports the product infrastructure and is not intended to be used directly from your code. Produces a string that consists of delimited identifiers that represent the enumeration members that have been set. |
FromEnum(Int64, String[], Int64[], String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Takes a numeric enumeration value and the names and constants from the enumerator list for the enumeration and returns a string that consists of delimited identifiers that represent the enumeration members that have been set. |
Remarks
The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
FromEnum(Int64, String[], Int64[])
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
Produces a string that consists of delimited identifiers that represent the enumeration members that have been set.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
static System::String ^ FromEnum(long value, cli::array <System::String ^> ^ values, cli::array <long> ^ ids);
protected static string FromEnum (long value, string[] values, long[] ids);
static member FromEnum : int64 * string[] * int64[] -> string
Protected Shared Function FromEnum (value As Long, values As String(), ids As Long()) As String
Parameters
- value
- Int64
The enumeration value as a series of bitwise OR
operations.
- values
- String[]
The enumeration's name values.
- ids
- Int64[]
The enumeration's constant values.
Returns
A string that consists of delimited identifiers, where each represents a member from the set enumerator list.
Remarks
The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
The FromEnum method is static.
Applies to
FromEnum(Int64, String[], Int64[], String)
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
Takes a numeric enumeration value and the names and constants from the enumerator list for the enumeration and returns a string that consists of delimited identifiers that represent the enumeration members that have been set.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
static System::String ^ FromEnum(long value, cli::array <System::String ^> ^ values, cli::array <long> ^ ids, System::String ^ typeName);
protected static string FromEnum (long value, string[] values, long[] ids, string typeName);
static member FromEnum : int64 * string[] * int64[] * string -> string
Protected Shared Function FromEnum (value As Long, values As String(), ids As Long(), typeName As String) As String
Parameters
- value
- Int64
The enumeration value as a series of bitwise OR
operations.
- values
- String[]
The values of the enumeration.
- ids
- Int64[]
The constants of the enumeration.
- typeName
- String
The name of the type.
Returns
A string that consists of delimited identifiers, where each item is one of the values set by the bitwise operation.
Remarks
The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기