PropertyInformation.ValueOrigin Property

Definition

Gets a PropertyValueOrigin object related to the configuration attribute.

public:
 property System::Configuration::PropertyValueOrigin ValueOrigin { System::Configuration::PropertyValueOrigin get(); };
public System.Configuration.PropertyValueOrigin ValueOrigin { get; }
member this.ValueOrigin : System.Configuration.PropertyValueOrigin
Public ReadOnly Property ValueOrigin As PropertyValueOrigin

Property Value

A PropertyValueOrigin object.

Examples

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);
' Display the ValueOrigin property.
Console.WriteLine("ValueOrigin: {0}", propertyItem.ValueOrigin)

Remarks

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

Applies to