ModuleBuilder.GetFieldToken(FieldInfo) Method
Definition
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
Parameters
- field
- FieldInfo
The field to get a token for.
Returns
The token used to identify the specified field within this module.
Exceptions
field
is null
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.