Partager via


FlavoredProject.SetProperty(UInt32, Int32, Object) Method

Definition

Sets properties of a specific node or of the hierarchy.

protected:
 virtual int SetProperty(System::UInt32 itemId, int propId, System::Object ^ property);
protected:
 virtual int SetProperty(unsigned int itemId, int propId, Platform::Object ^ property);
 virtual int SetProperty(unsigned int itemId, int propId, winrt::Windows::Foundation::IInspectable const & property);
protected virtual int SetProperty (uint itemId, int propId, object property);
abstract member SetProperty : uint32 * int * obj -> int
override this.SetProperty : uint32 * int * obj -> int
Protected Overridable Function SetProperty (itemId As UInteger, propId As Integer, property As Object) As Integer

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.

Remarks

This method calls the SetProperty method on the inner project.

Applies to