ClassificationSpan Class

 

Describes a region of text classified by an IClassificationType.

Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

System.Object
  Microsoft.VisualStudio.Text.Classification.ClassificationSpan

public class ClassificationSpan

NameDescription
System_CAPS_pubmethodClassificationSpan(SnapshotSpan, IClassificationType)

Initializes a new instance of a ClassificationSpan.

NameDescription
System_CAPS_pubpropertyClassificationType

Gets the classification type of the text.

System_CAPS_pubpropertySpan

Gets the snapshot span of the classified text.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about classification, see the section "Extending Classification Types and Classification Formats" in Editor Extension Points.

This class is immutable.

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

Return to top
Show: