Initializes a new instance of the MemberDescriptor class with the specified name and attributes array.
[Visual Basic] Overloads Public Sub New( _ ByVal name As String, _ ByVal attributes() As MemberAttribute _ ) [C#] public MemberDescriptor( string name, MemberAttribute[] attributes ); [C++] public: MemberDescriptor( String* name, MemberAttribute* attributes[] ); [JScript] public function MemberDescriptor( name : String, attributes : MemberAttribute[] );
Exception Type | Condition |
---|---|
ArgumentException | The name is an empty string ("") or a null reference (in Visual Basic Nothing). |
MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace | MemberDescriptor Constructor Overload List