Udostępnij za pośrednictwem


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
'Usage
Dim instance As ProjectItem 
Dim value As Document 

value = instance.Document
Document Document { get; }
property Document^ Document {
    Document^ get ();
}
function get Document () : Document

Property Value

Type: EnvDTE.Document
A Document object.

.NET Framework Security

See Also

Reference

ProjectItem Interface

ProjectItem Members

EnvDTE Namespace

Other Resources

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