Partager via


Dictionary.Enumname2id(String) Method

Definition

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.

Applies to