NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Attribute.GetCustomAttributes (ParameterInfo, Type)

Returns an array of all the custom attributes of type attributeType defined on this parameter.

[Visual Basic]
Overloads Public Shared Function GetCustomAttributes( _
   ByVal element As ParameterInfo, _
   ByVal attributeType As Type _
) As Attribute ()
[C#]
public static Attribute[] GetCustomAttributes(
   ParameterInfo element,
   Type attributeType
);
[C++]
public: static Attribute* GetCustomAttributes(
   ParameterInfo* element,
   Type* attributeType
) [];
[JScript]
public static function GetCustomAttributes(
   element : ParameterInfo,
   attributeType : Type
) : Attribute[];

Parameters

element
The parameter to search for the custom attribute on.
attributeType
The type of the attribute to be returned

Return Value

Returns an array of all the custom attributes of type attributeType defined on this parameter.

See Also

Attribute Class | Attribute Members | System Namespace | Attribute.GetCustomAttributes Overload List