ModelSpan Class

Provides a model-aware Span class for ASP.NET MVC.

Namespace:  System.Web.Mvc.Razor
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class ModelSpan : CodeSpan

The ModelSpan type exposes the following members.

Public methodModelSpanInitializes a new instance of the ModelSpan class.

Public propertyAcceptedCharacters (Inherited from Span.)
Public propertyAutoCompleteString (Inherited from Span.)
Public propertyContent (Inherited from Span.)
Public propertyHidden (Inherited from Span.)
Public propertyIsBlock (Inherited from Span.)
Public propertyKind (Inherited from Span.)
Public propertyLength (Inherited from Span.)
Public propertyModelTypeNameGets the type name of the model.
Public propertyNext (Inherited from Span.)
Public propertyOffset (Inherited from Span.)
Public propertyParent (Inherited from SyntaxTreeNode.)
Public propertyPrevious (Inherited from Span.)
Public propertyStart (Inherited from Span.)

Public methodAccept (Inherited from Span.)
Public methodApplyChange(TextChange) (Inherited from Span.)
Public methodApplyChange(TextChange, Boolean) (Inherited from Span.)
Protected methodCanAcceptChange (Inherited from CodeSpan.)
Public methodEqualsGets a value that indicates whether the current ModelSpan object is identical to the specified object. (Overrides Span.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code of the ModelSpan object. (Overrides Span.GetHashCode().)
Protected methodGetOldText (Inherited from Span.)
Protected methodGetSpanTypeName (Inherited from Span.)
Public methodGetType (Inherited from Object.)
Protected methodIsAtEndOfFirstLine (Inherited from Span.)
Protected methodIsAtEndOfSpan (Inherited from Span.)
Protected methodIsEndDeletion (Inherited from Span.)
Protected methodIsEndInsertion (Inherited from Span.)
Protected methodIsEndReplace (Inherited from Span.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOwnsChange (Inherited from Span.)
Public methodToString (Inherited from CodeSpan.)
Public methodTryMergeWith (Inherited from Span.)

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