System::TypeInfo::IsDefined method

TypeInfo::IsDefined method

NOT IMPLEMENTED. Indicates whether one or more attributes of the specified type or of its derived types is applied to this member.

bool System::TypeInfo::IsDefined(const TypeInfo &attributeType, bool inherit) const
ParameterTypeDescription
attributeTypeconst TypeInfo&The type of custom attribute to search for. The search includes derived types.
inheritbooltrue to search this member’s inheritance chain to find the attributes; otherwise, false. This parameter is ignored for properties and events.

ReturnValue

true if one or more instances of attributeType or any of its derived types is applied to this member; otherwise, false.

See Also