JSField.GetCustomAttributes Method (Type, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Returns an array that contains the custom attributes that are attached to this field, searching only for attributes of the specified type.

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

public override object[] GetCustomAttributes(
	Type t,
	bool inherit
)

Parameters

t
Type: System.Type

The type of attribute to search for.

inherit
Type: System.Boolean

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

Return Value

Type: System.Object[]

An array of FieldInfo objects that has zero elements.

.NET Framework
Available since 1.1
Return to top
Show: