JSMethodInfo.GetCustomAttributes Method (Type, Boolean)

 

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 method, searching only for attributes of the specified type.

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

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

Parameters

type
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 that contains the custom attributes that are attached to this method, or, if there are none, an array that has zero elements.

.NET Framework
Available since 1.1
Return to top
Show: