Bagikan melalui


MetadataBuilder.AddProperty Metode

Definisi

Menambahkan definisi properti.

public:
 System::Reflection::Metadata::PropertyDefinitionHandle AddProperty(System::Reflection::PropertyAttributes attributes, System::Reflection::Metadata::StringHandle name, System::Reflection::Metadata::BlobHandle signature);
public System.Reflection.Metadata.PropertyDefinitionHandle AddProperty (System.Reflection.PropertyAttributes attributes, System.Reflection.Metadata.StringHandle name, System.Reflection.Metadata.BlobHandle signature);
member this.AddProperty : System.Reflection.PropertyAttributes * System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.PropertyDefinitionHandle
Public Function AddProperty (attributes As PropertyAttributes, name As StringHandle, signature As BlobHandle) As PropertyDefinitionHandle

Parameter

attributes
PropertyAttributes

Atribut properti.

name
StringHandle

Nama properti.

signature
BlobHandle

Tanda tangan properti .

Mengembalikan

Handel ke definisi properti yang ditambahkan.

Berlaku untuk