CodeTypeMember.LinePragma Property

 

Gets or sets the line on which the type member statement occurs.

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

public CodeLinePragma LinePragma { get; set; }

Property Value

Type: System.CodeDom.CodeLinePragma

A CodeLinePragma object that indicates the location of the type member declaration.

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.

System_CAPS_cautionCaution

This value is null by default and should be checked for content before being referenced.

.NET Framework
Available since 1.1
Return to top
Show: