Uredi

Deli z drugimi prek


COMFieldInfo.IsDefined(Type, Boolean) Method

Definition

Overloads

IsDefined(Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

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

IsDefined(Type, Boolean)

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

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override bool IsDefined(Type ^ t, bool inherit);
public override bool IsDefined (Type t, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (t As Type, inherit As Boolean) As Boolean

Parameters

t
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.

See also

Applies to