Share via


ProjectItem.Document Property

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

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

Syntax

'Declaration
ReadOnly Property Document As Document
Document Document { get; }
property Document^ Document {
    Document^ get ();
}
abstract Document : Document
function get Document () : Document

Property Value

Type: EnvDTE.Document
A Document object.

.NET Framework Security

See Also

Reference

ProjectItem Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples