PropertyInformation.LineNumber Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the line number in the configuration file related to the configuration attribute.
public:
property int LineNumber { int get(); };
public int LineNumber { get; }
member this.LineNumber : int
Public ReadOnly Property LineNumber As Integer
Property Value
A line number of the configuration file.
Examples
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.
// Display the LineNumber property.
Console.WriteLine("LineNumber: {0}", propertyItem.LineNumber);
' Display the LineNumber property.
Console.WriteLine("LineNumber: {0}", propertyItem.LineNumber)
Remarks
The line number associated with the source configuration file. Zero is returned when there is no source configuration file.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示