CodeSpan Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
    System.Web.Razor.Parser.SyntaxTree.Span
      System.Web.Razor.Parser.SyntaxTree.CodeSpan
        System.Web.Razor.Parser.SyntaxTree.HelperFooterSpan
        System.Web.Razor.Parser.SyntaxTree.HelperHeaderSpan
        System.Web.Razor.Parser.SyntaxTree.ImplicitExpressionSpan
        System.Web.Razor.Parser.SyntaxTree.InheritsSpan

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class CodeSpan _
    Inherits Span
'Usage
Dim instance As CodeSpan
public class CodeSpan : Span
public ref class CodeSpan : public Span
public class CodeSpan extends Span

The CodeSpan type exposes the following members.

Constructors

  Name Description
Public method CodeSpan(SourceLocation, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public method CodeSpan(SourceLocation, String, Boolean) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public method CodeSpan(SourceLocation, String, Boolean, AcceptedCharacters) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Top

Properties

  Name Description
Public property AcceptedCharacters This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property AutoCompleteString This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Content This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Hidden This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property IsBlock This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Kind This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Length This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Next This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Offset This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Parent This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from SyntaxTreeNode.)
Public property Previous This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public property Start This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)

Top

Methods

  Name Description
Public method Accept This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public method ApplyChange(TextChange) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public method ApplyChange(TextChange, Boolean) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method CanAcceptChange This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Overrides Span.CanAcceptChange(TextChange).)
Public methodStatic member Create(ParserContext) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public methodStatic member Create(ParserContext, Boolean) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public methodStatic member Create(ParserContext, String) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public methodStatic member Create(ParserContext, Boolean, AcceptedCharacters) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public method Equals This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method GetOldText This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method GetSpanTypeName This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public method GetType (Inherited from Object.)
Protected method IsAtEndOfFirstLine This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method IsAtEndOfSpan This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method IsEndDeletion This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method IsEndInsertion This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method IsEndReplace This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OwnsChange This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)
Public method ToString This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Overrides Span.ToString().)
Public method TryMergeWith This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from Span.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor.Parser.SyntaxTree Namespace