PropertyInformation.Value Property


Gets or sets an object containing the value related to a configuration attribute.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public object Value { get; set; }

Property Value

Type: System.Object

An object containing the value for the PropertyInformation object.

The following code example demonstrates how to use the Value property. This code example is part of a larger example provided for the PropertyInformation class.

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

.NET Framework
Available since 2.0
Return to top