Partager via


Moniker.Line Property

Even though a Moniker is a concept in the model that doesn't tie to a physical location in serialized format, it is usually used in serialization/deserialization. The location of the moniker in the serialized format can greatly help analyze problems with unresolved monikers, so we store the line number of where the moniker is stored in serialized format.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Property Line As Integer
public int Line { get; set; }
public:
property int Line {
    int get ();
    void set (int value);
}
member Line : int with get, set
function get Line () : int 
function set Line (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

Moniker Class

Microsoft.VisualStudio.Modeling Namespace