Share via


FlavoredProject.IVsUIHierarchy.SetProperty(UInt32, Int32, Object) Method

Definition

Sets properties of a specific node or of the hierarchy.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetProperty(System::UInt32 itemid, int propid, System::Object ^ var) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::SetProperty;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetProperty(unsigned int itemid, int propid, Platform::Object ^ var) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::SetProperty;
int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetProperty(unsigned int itemid, int propid, winrt::Windows::Foundation::IInspectable const & var);
int IVsUIHierarchy.SetProperty (uint itemid, int propid, object var);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetProperty : uint32 * int * obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetProperty : uint32 * int * obj -> int
Function SetProperty (itemid As UInteger, propid As Integer, var As Object) As Integer Implements IVsUIHierarchy.SetProperty

Parameters

itemid
UInt32

The ID of the item.

propid
Int32

The ID of the property to set.

var
Object

The value of the property.

Returns

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

Implements

Remarks

This method calls the SetProperty method, which calls the SetProperty method, which calls the SetProperty method on the inner project.

Applies to