Gets or sets the line on which the type member statement occurs.
Assembly: System (in System.dll)
This property indicates the location of the type member declaration. This property can be used for error reporting and debugging. The location of the type member declaration can be useful when code is generated based on a template file.
This value is null by default and should be checked for content before being referenced.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)