共用方式為


ClassificationSpan Class

Definition

Describes a region of text by an IClassificationType.

public ref class ClassificationSpan
[Windows::Foundation::Metadata::WebHostHidden]
class ClassificationSpan
public class ClassificationSpan
type ClassificationSpan = class
Public Class ClassificationSpan
Inheritance
ClassificationSpan

Remarks

This class is immutable.

Constructors

ClassificationSpan(SnapshotSpan, IClassificationType)

Initializes a new instance of a ClassificationSpan.

Properties

ClassificationType

Gets the classification type of the text.

Span

Gets the snapshot span of the classified text.

Applies to