Share via


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)

适用于