Partager via


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

Definition

Determines whether the specified document is in a project.

public:
 int IsDocumentInProject2(System::String ^ pszMkDocument, [Runtime::InteropServices::Out] int % pfFound, [Runtime::InteropServices::Out] int % pdwPriority2, [Runtime::InteropServices::Out] System::UInt32 % pitemid);
public int IsDocumentInProject2 (string pszMkDocument, out int pfFound, out int pdwPriority2, out uint pitemid);
abstract member IsDocumentInProject2 : string * int * int * uint32 -> int
Public Function IsDocumentInProject2 (pszMkDocument As String, ByRef pfFound As Integer, ByRef pdwPriority2 As Integer, ByRef pitemid As UInteger) As Integer

Parameters

pszMkDocument
String

The path of the document.

pfFound
Int32

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

pdwPriority2
Int32

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

pitemid
UInt32

[out] The item ID of the document.

Returns

The HRESULT.

Applies to