PropertyInformation.Value 屬性

定義

取得或設定物件,其中包含與組態屬性有關的值。

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public object Value { get; set; }
member this.Value : obj with get, set
Public Property Value As Object

屬性值

包含 PropertyInformation 物件的值之物件。

範例

下列程式代碼範例示範如何使用 Value 屬性。 此程式代碼範例是提供給 類別之較大範例的 PropertyInformation 一部分。

// Display the Value property.
Console.WriteLine("Value: {0}", propertyItem.Value);
' Display the Value property.
Console.WriteLine("Value: {0}", propertyItem.Value)

適用於