PropertyInformation.Value 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个对象,该对象包含与配置属性相关的值。
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)