IWebFileCtxService.AddFileToIntellisense(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.