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.GetFieldToken

Returns the token used to identify the specified field within this module.

[Visual Basic]
Public Function GetFieldToken( _
   ByVal field As FieldInfo _
) As FieldToken
[C#]
public FieldToken GetFieldToken(
   FieldInfo field
);
[C++]
public: FieldToken GetFieldToken(
   FieldInfo* field
);
[JScript]
public function GetFieldToken(
   field : FieldInfo
) : FieldToken;

Parameters

field
A FieldInfo object representing the field to get a token for.

Return Value

Returns the token used to identify the field represented by con within this module.

Exceptions

Exception Type Condition
ArgumentNullException if con is a null reference (in Visual Basic Nothing)

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace