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.SetCustomAttribute

Sets a custom attribute.

Overload List

Set a custom attribute using a specified custom attribute blob.

[Visual Basic] Overloads Public Sub SetCustomAttribute(ConstructorInfo, Byte())
[C#] public void SetCustomAttribute(ConstructorInfo, byte[]);
[C++] public: void SetCustomAttribute(ConstructorInfo*, unsigned char[]);
[JScript] public function SetCustomAttribute(ConstructorInfo, Byte[]);

Set a custom attribute using a custom attribute builder.

[Visual Basic] Overloads Public Sub SetCustomAttribute(CustomAttributeBuilder)
[C#] public void SetCustomAttribute(CustomAttributeBuilder);
[C++] public: void SetCustomAttribute(CustomAttributeBuilder*);
[JScript] public function SetCustomAttribute(CustomAttributeBuilder);

See Also

MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace