ModuleBuilder.GetFieldToken(FieldInfo) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the token used to identify the specified field within this module.
public:
System::Reflection::Emit::FieldToken GetFieldToken(System::Reflection::FieldInfo ^ field);
public System.Reflection.Emit.FieldToken GetFieldToken(System.Reflection.FieldInfo field);
member this.GetFieldToken : System.Reflection.FieldInfo -> System.Reflection.Emit.FieldToken
Public Function GetFieldToken (field As FieldInfo) As FieldToken
- field
- FieldInfo
The field to get a token for.
The token used to identify the specified field within this module.
field
is null
.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: