通过


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)

适用于