Partager via


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

Definition

Sets properties of a specific node or of the hierarchy.

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

Parameters

itemId
UInt32

The ID of the item.

propId
Int32

The ID of the property to set.

property
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 on the inner project.

Applies to