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

Set a custom attribute using a specified custom attribute blob.

[Visual Basic]
Public Sub SetSymCustomAttribute( _
   ByVal name As String, _
   ByVal data() As Byte _
)
[C#]
public void SetSymCustomAttribute(
   string name,
   byte[] data
);
[C++]
public: void SetSymCustomAttribute(
   String* name,
   unsigned char* data[]
);
[JScript]
public function SetSymCustomAttribute(
   name : String,
   data : Byte[]
);

Parameters

name
The constructor for the custom attribute.
data
A byte blob representing the attributes.

Exceptions

Exception Type Condition
ArgumentNullException if con or binaryAttribute is a null reference (in Visual Basic Nothing)

Remarks

See the for details on how to format binaryAttribute.

See Also

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