Udostępnij za pośrednictwem


MetadataBuilder.AddFieldDefinition Metoda

Definicja

Dodaje definicję pola.

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

Parametry

attributes
FieldAttributes

Atrybuty pola.

name
StringHandle

Nazwa pola.

signature
BlobHandle

Podpis pola. Użyj FieldSignature() polecenia , aby skonstruować obiekt blob.

Zwraca

Uchwyt do dodanej definicji pola.

Dotyczy