IVsProject5.IsDocumentInProject2 Method (String, Int32, Int32, UInt32)

 

Determines whether the specified document is in a project.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)

int IsDocumentInProject2(
	string pszMkDocument,
	out int pfFound,
	out int pdwPriority2,
	out uint pitemid
)

Parameters

pszMkDocument
Type: System.String

The path of the document.

pfFound
Type: System.Int32

[out] true if the document is found in the project, otherwise false.

pdwPriority2
Type: System.Int32

[out] The priority. For a list of known priority values, see__VSDOCUMENTPRIORITY2.

pitemid
Type: System.UInt32

[out] The item ID of the document.

Return Value

Type: System.Int32

The HRESULT.

Return to top
Show: