Export (0) Print
Expand All

IVsUIHierarchyWindow2.SetItemAttribute Method

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

int SetItemAttribute (
	[InAttribute] IVsUIHierarchy pUIH,
	[InAttribute] uint itemid,
	[InAttribute] uint attribute,
	[InAttribute] Object value
)
int SetItemAttribute (
	/** @attribute InAttribute() */ IVsUIHierarchy pUIH, 
	/** @attribute InAttribute() */ UInt32 itemid, 
	/** @attribute InAttribute() */ UInt32 attribute, 
	/** @attribute InAttribute() */ Object value
)
function SetItemAttribute (
	pUIH : IVsUIHierarchy, 
	itemid : uint, 
	attribute : uint, 
	value : Object
) : int

Parameters

pUIH

[in]

itemid

[in]

attribute

[in]

value

[in]

Return Value

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

COM Signature

From vsshell80.idl:

HRESULT IVsUIHierarchyWindow2::SetItemAttribute(
   [in] IVsUIHierarchy* pUIH, 
   [in] VSITEMID itemid, 
   [in] VSHIERITEMATTRIBUTE attribute, 
   [in] VARIANT value
);

Community Additions

ADD
Show:
© 2014 Microsoft