NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ModuleBuilder.GetTypeToken (String)

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;

Parameters

name
A String representing the name of the class.

Return Value

Returns the TypeToken used to identify the type given by name within this module.

Exceptions

Exception Type Condition
ArgumentNullException if name is a null reference (in Visual Basic Nothing)
ArgumentException if the type is a ByRef

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace | ModuleBuilder.GetTypeToken Overload List