Returns the token used to identify the type given its name.
[Visual Basic] Overloads Public Function GetTypeToken( _ ByVal name As String _ ) As TypeToken [C#] public TypeToken GetTypeToken( string name ); [C++] public: TypeToken GetTypeToken( String* name ); [JScript] public function GetTypeToken( name : String ) : TypeToken;
Returns the TypeToken used to identify the type given by name within this module.
Exception Type | Condition |
---|---|
ArgumentNullException | if name is a null reference (in Visual Basic Nothing) |
ArgumentException | if the type is a ByRef |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace | ModuleBuilder.GetTypeToken Overload List