JSConstructor.IsDefined(Type, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified attribute type is attached to this constructor.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
override bool IsDefined(Type ^ type, bool inherit);
public override bool IsDefined (Type type, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (type As Type, inherit As Boolean) As Boolean
Parameters
- type
- Type
The attribute type to search for.
- inherit
- Boolean
true
to search this member's inheritance hierarchy to find the attributes.
Returns
false
in all cases.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.