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!

DocumentCollection Constructor

Initializes a new instance of the DocumentCollection class that stores an array with a pointer to each IDesignerHost for each document in the collection.

[Visual Basic]
Public Sub New( _
   ByVal designers() As IDesignerHost _
)
[C#]
public DocumentCollection(
   IDesignerHost[] designers
);
[C++]
public: DocumentCollection(
   IDesignerHost* designers[]
);
[JScript]
public function DocumentCollection(
   designers : IDesignerHost[]
);

Parameters

designers
An array of IDesignerHost objects.

Remarks

Creates a new document collection from an array of designers. The collection does not clone the array.

See Also

DocumentCollection Class | DocumentCollection Members | System.ComponentModel.Design Namespace