共用方式為


FlavoredProject.GetProperty(UInt32, Int32, Object) Method

Definition

Gets the value of a property for a given node.

protected:
 virtual int GetProperty(System::UInt32 itemId, int propId, [Runtime::InteropServices::Out] System::Object ^ % property);
 virtual int GetProperty(unsigned int itemId, int propId, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & property);
protected virtual int GetProperty (uint itemId, int propId, out object property);
abstract member GetProperty : uint32 * int * obj -> int
override this.GetProperty : uint32 * int * obj -> int
Protected Overridable Function GetProperty (itemId As UInteger, propId As Integer, ByRef property As Object) As Integer

Parameters

itemId
UInt32

The item ID of the node.

propId
Int32

The ID of the requested property.

property
Object

[out] 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 GetProperty on the inner project.

Applies to