IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid) Method

Definition

Gets properties whose values are GUIDs.

public:
 int GetGuidProperty(System::UInt32 itemid, int propid, [Runtime::InteropServices::Out] Guid % pguid);
public int GetGuidProperty (uint itemid, int propid, out Guid pguid);
abstract member GetGuidProperty : uint32 * int *  -> int
Public Function GetGuidProperty (itemid As UInteger, propid As Integer, ByRef pguid As Guid) As Integer
Parameters
itemid
UInt32 UInt32 UInt32 UInt32

[in] Identifier of hierarchy item whose property is to be retrieved. For a list of itemid values, see VSITEMID.

propid
Int32 Int32 Int32 Int32

[in] Identifier of the property of the given hierarchy item. For a list of propid values, see __VSHPROPID.

pguid
Guid Guid Guid Guid

[out] Pointer to a GUID property specified in propid.

Returns

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

Remarks

COM Signature

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.

Applies to