Share via


IWebFileCtxService.AddFileToIntellisense(String, UInt32) Method

Definition

Add a file to the Intellisense coverage.

public:
 int AddFileToIntellisense(System::String ^ pszFilePath, [Runtime::InteropServices::Out] System::UInt32 % pItemid);
int AddFileToIntellisense(std::wstring const & pszFilePath, [Runtime::InteropServices::Out] unsigned int & pItemid);
public int AddFileToIntellisense (string pszFilePath, out uint pItemid);
abstract member AddFileToIntellisense : string * uint32 -> int
Public Function AddFileToIntellisense (pszFilePath As String, ByRef pItemid As UInteger) As Integer

Parameters

pszFilePath
String

[in] Pointer to a string containing the file name. May be relative to the current directory (.).

pItemid
UInt32

[out] Pointer to the item identifier assigned to the file, a VSITEMID.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to