Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyInformation::LineNumber Property

 

Gets the line number in the configuration file related to the configuration attribute.

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

public:
property int LineNumber {
	int get();
}

Property Value

Type: System::Int32

A line number of the configuration file.

The line number associated with the source configuration file. Zero is returned when there is no source configuration file.

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

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: