Bagikan melalui


MetadataBuilder.AddFieldDefinition Metode

Definisi

Menambahkan definisi bidang.

public:
 System::Reflection::Metadata::FieldDefinitionHandle AddFieldDefinition(System::Reflection::FieldAttributes attributes, System::Reflection::Metadata::StringHandle name, System::Reflection::Metadata::BlobHandle signature);
public System.Reflection.Metadata.FieldDefinitionHandle AddFieldDefinition (System.Reflection.FieldAttributes attributes, System.Reflection.Metadata.StringHandle name, System.Reflection.Metadata.BlobHandle signature);
member this.AddFieldDefinition : System.Reflection.FieldAttributes * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.FieldDefinitionHandle
Public Function AddFieldDefinition (attributes As FieldAttributes, name As StringHandle, signature As BlobHandle) As FieldDefinitionHandle

Parameter

attributes
FieldAttributes

Atribut bidang.

name
StringHandle

Nama bidang.

signature
BlobHandle

Tanda tangan bidang. Gunakan FieldSignature() untuk membuat blob.

Mengembalikan

Handel ke definisi bidang yang ditambahkan.

Berlaku untuk