Compartir a través de


MetadataBuilder.AddFieldDefinition Método

Definición

Agrega una definición de campo.

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

Parámetros

attributes
FieldAttributes

Los atributos del campo.

name
StringHandle

Nombre de campo.

signature
BlobHandle

Firma del campo. Use FieldSignature() para construir el blob.

Devoluciones

Un identificador de la definición de campo agregada.

Se aplica a