IVsProjectSpecialFiles.GetFile Method (Int32, UInt32, UInt32, String)
Visual Studio 2015
Gets the item identifier, name, and path of a special project file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- fileID
-
Type:
System.Int32
[in] The type of special file. A value from the __PSFFILEID enumeration.
- grfFlags
-
Type:
System.UInt32
[in] Flags indicating whether or not to create the file, or whether the full path has been provided. A value from the __PSFFLAGS enumeration.
- pitemid
-
Type:
System.UInt32
[out] Pointer to the VSITEMID of the special file.
- pbstrFilename
-
Type:
System.String
[out] Pointer to a string containing the name of the file and, optionally, the full path.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: