This documentation is archived and is not being maintained.
IVsHierarchy.SetProperty Method
Visual Studio 2013
Sets properties of a specific node or of the hierarchy.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- itemid
- Type: UInt32
[in] Item identifier of the hierarchy item whose properties are to be set. For a list of itemid values, see VSITEMID.
- propid
- Type: Int32
[in] Identifier of the hierarchy property. For a list of propid values, see __VSHPROPID.
- var
- Type: Object
[in] Variant that contains property information.
Return Value
Type: Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: