ValueOrigin Property

PropertyInformation.ValueOrigin Property

 

Gets a PropertyValueOrigin object related to the configuration attribute.

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

public PropertyValueOrigin ValueOrigin { get; }

The PropertyValueOrigin object describes how the value of the configuration attribute was determined.

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

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft