System::Attribute::GetCustomAttribute metodu

Attribute::GetCustomAttribute method

Belirtilen türe uygulanan belirtilen tipte bir özel öznitelik döndürür.

static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
ParameterTypeAçıklama
türconst TypeInfo&Alınan türün özniteliği
attributeTypeconst TypeInfo&Alınacak öznitelik türü

ReturnValue

Alınan bir öznitelik veya belirtilen türde öznitelik yoksa null.

Ayrıca Bakınız