CodeLinePragma Class
.NET Framework 3.0
Represents a specific location within a specific file.
Namespace: System.CodeDom
Assembly: System (in system.dll)
Assembly: System (in system.dll)
[SerializableAttribute] [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] [ComVisibleAttribute(true)] public class CodeLinePragma
/** @attribute SerializableAttribute() */ /** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ /** @attribute ComVisibleAttribute(true) */ public class CodeLinePragma
SerializableAttribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) ComVisibleAttribute(true) public class CodeLinePragma
Not applicable.
The following code example demonstrates the use of the CodeLinePragma class to reference a specific line of a source file.
// Creates a CodeLinePragma that references line 100 of the file "example.cs". CodeLinePragma pragma = new CodeLinePragma("example.cs", 100);
// Creates a CodeLinePragma that references line 100 of
// the file "example.jsl".
CodeLinePragma pragma = new CodeLinePragma("example.jsl", 100);
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: