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!

MemberAttributeCollection Constructor

Initializes a new instance of the MemberAttributeCollection class.

[Visual Basic]
Public Sub New( _
   ByVal attributes() As MemberAttribute _
)
[C#]
public MemberAttributeCollection(
   MemberAttribute[] attributes
);
[C++]
public: MemberAttributeCollection(
   MemberAttribute* attributes[]
);
[JScript]
public function MemberAttributeCollection(
   attributes : MemberAttribute[]
);

Parameters

attributes
An array of type MemberAttribute that provides the attributes for this collection.

Example [Visual Basic]

The following example creates a new MemberAttributeCollection using the attributes on Button1. It assumes that Button1 has been instantiated on a form.

[Visual Basic]

Dim attributes As MemberAttributeCollection
attributes = TypeDescriptor.GetAttributes(Button1)

See Also

MemberAttributeCollection Class | MemberAttributeCollection Members | System.ComponentModel Namespace | MemberAttribute