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.IsDefined (ParameterInfo, Type)

Returns true if this attribute is defined on the given element (including inherited members)

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

Parameters

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

Return Value

Returns true if this attribute is defined on the given element (including inherited members)

See Also

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