IVsUIHierarchy::SetGuidProperty Method (UInt32, Int32, Guid)
Visual Studio 2015
Sets properties whose values are GUIDs.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] Identifier of the hierarchy item that is to be set. For a list of itemid values, see VSITEMID.
- propid
-
Type:
System::Int32
[in] Identifier of the property in the given hierarchy item. For a list of propid values, see __VSHPROPID.
- rguid
-
Type:
System::Guid
[in] GUID value of the property specified in propid that is returned by GetGuidProperty.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIHierarchy::SetGuidProperty( [in] VSITEMID itemid, [in] VSHPROPID propid, [in] REFGUID rguid );
This method is called by the environment to set a specific property on the hierarchy.
Show: