IVsHierarchy::GetGuidProperty Method (UInt32, Int32, Guid)
Visual Studio 2015
Gets properties whose values are GUIDs.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] Identifier of hierarchy item whose property is to be retrieved. For a list of itemid values, see VSITEMID.
- propid
-
Type:
System::Int32
[in] Identifier of the property of the given hierarchy item. For a list of propid values, see __VSHPROPID.
- pguid
-
Type:
System::Guid
[out] Pointer to a GUID property specified in propid.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsHierarchy::GetGuidProperty( [in] VSITEMID itemid, [in] VSHPROPID propid, [out] GUID *pguid );
Use this method to pass any properties whose values are GUIDs. The GetProperty method cannot be used to pass GUID properties.
Show: