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!

MemberInfo.IsDefined

Returns a Boolean if one or more instance of attributeType is defined on this member.

[Visual Basic]
MustOverride Public Function IsDefined( _
   ByVal attributeType As Type _
) As Boolean
[C#]
public abstract bool IsDefined(
   Type attributeType
);
[C++]
public: virtual bool IsDefined(
   Type* attributeType
) = 0;
[JScript]
public abstract function IsDefined(
   attributeType : Type
) : Boolean;

Parameters

attributeType
The Type object to which the custom attributes are applied.

Return Value

Returns true if one or more instance of attributeType is defined on this member, otherwise false.

Remarks

The IsDefined method is an abstract method that retrieves a Boolean value when a custom attribute has been defined on the Type object . Otherwise a false is returned.

See Also

MemberInfo Class | MemberInfo Members | System.Reflection Namespace