Window2::Document Property

 

Gets the Document object associated with the item, if one exists.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property Document^ Document {
	Document^ get();
}

Property Value

Type: EnvDTE::Document^

A Document object.

For tool windows, Document returns Nothing.

This example iterates through the collection of windows and displays the window captions. It also determines that the Document types match.

No code example is currently available or this language may not be supported.
Return to top
Show: