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!

MethodBuilder.GetCustomAttributes ()

Returns all the custom attributes defined for this method.

[Visual Basic]
Overloads Overrides Public Function GetCustomAttributes() As Object ()
[C#]
public override object[] GetCustomAttributes();
[C++]
public: override Object* GetCustomAttributes() [];
[JScript]
public override function GetCustomAttributes() : Object[];

Return Value

Returns an array of objects representing all the custom attributes of this method.

Exceptions

Exception Type Condition
TypeLoadException if the custom attribute type can not be loaded.

See Also

MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace | MethodBuilder.GetCustomAttributes Overload List