JSMethod.IsDefined(Type, Boolean) JSMethod.IsDefined(Type, Boolean) JSMethod.IsDefined(Type, Boolean) Method

Definition

Determines whether the specified attribute type is attached to this method.

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 sealed bool IsDefined (Type type, bool inherit);
override this.IsDefined : Type * bool -> bool

Parameters

type
Type Type Type

The attribute type to search for.

inherit
Boolean Boolean Boolean

true to search this member's inheritance hierarchy to find the attributes.

Returns

false in all cases.

Applies to

See also