IVsCfgBrowseObject.GetProjectItem(IVsHierarchy, 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.
Maps back to the hierarchy or project item object corresponding to the browse object.
public:
int GetProjectItem([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % pHier, [Runtime::InteropServices::Out] System::UInt32 % pItemid);
int GetProjectItem([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & & pHier, [Runtime::InteropServices::Out] unsigned int & pItemid);
public int GetProjectItem (out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, out uint pItemid);
abstract member GetProjectItem : IVsHierarchy * uint32 -> int
Public Function GetProjectItem (ByRef pHier As IVsHierarchy, ByRef pItemid As UInteger) As Integer
Parameters
- pHier
- IVsHierarchy
[out] Pointer to the hierarchy object.
- pItemid
- UInt32
[out] Pointer to the project item.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsCfgBrowseObject::GetProjectItem(
[out] IVsHierarchy **pHier,
[out] VSITEMID *pItemid
);