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!

IDesignerEventService DocumentCreated Event

Occurs when a document is created.

The following declaration shows the syntax for a method that handles the DocumentCreated event.

[Visual Basic]
Private Sub IDesignerEventServiceName_DocumentCreated( _
   ByVal sender As Object, _
   ByVal e As DocumentEventArgs _
)
[C#]
private void IDesignerEventServiceName_DocumentCreated(
   object sender,
   DocumentEventArgs e
);
[C++]
private: void IDesignerEventServiceName_DocumentCreated(
   Object* sender,
   DocumentEventArgs* e
);
[JScript]
private IDesignerEventServiceName_DocumentCreated(
   sender : Object,
   e : DocumentEventArgs
);

Parameters

sender
The source of the event.
e
A DocumentEventArgs that contains the event data. The following DocumentEventArgs properties provide information specific to this event.
Property Description
Document
[To be supplied.]

Remarks

The document created event will be raised when a new document has been created and fully loaded and is ready for user input.

See Also

IDesignerEventService Interface | IDesignerEventService MembersTopic | System.ComponentModel.Design Namespace