Dictionary.Enumname2id(String) 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.
Provides the ID of a specified enumeration, based on the name.
public:
virtual int Enumname2id(System::String ^ _name);
public virtual int Enumname2id (string _name);
abstract member Enumname2id : string -> int
override this.Enumname2id : string -> int
Public Overridable Function Enumname2id (_name As String) As Integer
Parameters
- _name
- String
A string that indicates the name of an enumeration.
Returns
An enumId system data type value that indicates the ID of the enumeration.