TextRangeIdentity 类

更新:2007 年 11 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

一个在源中的文本范围内唯一的标识。

命名空间:  Microsoft.Windows.Design.Documents.Identities
程序集:  Microsoft.Windows.Design.Markup(在 Microsoft.Windows.Design.Markup.dll 中)

语法

声明
Public Class TextRangeIdentity _
    Inherits IdentityWrapper(Of TextRange) _
    Implements IComparable
用法
Dim instance As TextRangeIdentity
public class TextRangeIdentity : IdentityWrapper<TextRange>, 
    IComparable
public ref class TextRangeIdentity : public IdentityWrapper<TextRange^>, 
    IComparable
public class TextRangeIdentity extends IdentityWrapper<TextRange> implements IComparable

继承层次结构

System.Object
  Microsoft.Windows.Design.Documents.Identities.Identity
    Microsoft.Windows.Design.Documents.Identities.IdentityWrapper<TextRange>
      Microsoft.Windows.Design.Documents.Identities.TextRangeIdentity
        Microsoft.Windows.Design.Documents.Identities.ItemIdentity

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

TextRangeIdentity 成员

Microsoft.Windows.Design.Documents.Identities 命名空间

其他资源

WPF 设计器扩展性