IVsUIHierarchy::SetProperty Method (UInt32, Int32, Object^)
Visual Studio 2015
Sets properties of a specific node or of the hierarchy.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] Item identifier of the hierarchy item whose properties are to be set. For a list of itemid values, see VSITEMID.
- propid
-
Type:
System::Int32
[in] Identifier of the hierarchy property. For a list of propid values, see __VSHPROPID.
- var
-
Type:
System::Object^
[in] Variant that contains property information.
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::SetProperty( [in] VSITEMID itemid, [in] VSHPROPID propid, [in] VARIANT var );
Show: