MetadataBuilder.AddFieldDefinition Methode

Definition

Fügt eine Felddefinition hinzu.

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

Die Feldattribute.

name
StringHandle

Der Feldname.

signature
BlobHandle

Die Feldsignatur. Verwenden Sie FieldSignature(), um das Blob zu erstellen.

Gibt zurück

Ein Handle für die hinzugefügte Felddefinition.

Gilt für: