Partilhar via


Dictionary.Classname2id(String) Method

Definition

Provides the ID for a specified class, based on the class name.

public:
 virtual int Classname2id(System::String ^ _name);
public virtual int Classname2id (string _name);
abstract member Classname2id : string -> int
override this.Classname2id : string -> int
Public Overridable Function Classname2id (_name As String) As Integer

Parameters

_name
String

A string that indicates the class name.

Returns

A classId system data type value that indicates the class ID; 0 (zero) if you pass a name value for a nonexistent class.

Applies to