ItemIdentity 类
更新:2007 年 11 月
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
一个标识,用于将 TextRange 标识与类型组合在一起。
命名空间: Microsoft.Windows.Design.Documents.Identities
程序集: Microsoft.Windows.Design.Markup(在 Microsoft.Windows.Design.Markup.dll 中)
语法
声明
Public Class ItemIdentity _
Inherits TextRangeIdentity
用法
Dim instance As ItemIdentity
public class ItemIdentity : TextRangeIdentity
public ref class ItemIdentity : public TextRangeIdentity
public class ItemIdentity extends TextRangeIdentity
备注
如果项来自文本文件,则 ItemIdentity 类构成了几乎所有项标识的基础。
继承层次结构
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) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
Microsoft.Windows.Design.Documents.Identities 命名空间