Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COMFieldInfo::IsDefined Method (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.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
virtual bool IsDefined(
	Type^ t,
	bool inherit
) override

Parameters

t
Type: System::Type^

The attribute type to search for.

inherit
Type: System::Boolean

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

Return Value

Type: System::Boolean

false in all cases.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft