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[] );
Exception Type | Condition |
---|---|
ArgumentNullException | if con or binaryAttribute is a null reference (in Visual Basic Nothing) |
See the for details on how to format binaryAttribute.
MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace