Aracılığıyla paylaş


MetadataBuilder.AddProperty Yöntem

Tanım

Özellik tanımı ekler.

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

Parametreler

attributes
PropertyAttributes

Özellik öznitelikleri.

name
StringHandle

Özellik adı.

signature
BlobHandle

Özelliğin imzası.

Döndürülenler

Eklenen özellik tanımına tanıtıcı.

Şunlara uygulanır