System::Attribute::GetCustomAttribute yöntemi

Attribute::GetCustomAttribute method

Belirtilen türe uygulanan belirtilen türdeki özel özniteliği döndürür.

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

ReturnValue

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

Ayrıca Bakınız