ItemMetadata 成员

重写时,表示与同步作用域中的项相关联的元数据。

以下各表列出了由 ItemMetadata 类型公开的成员。

受保护的构造函数

  名称 说明
Protected method ItemMetadata 初始化 ItemMetadata 类的一个新实例。

顶部

公共属性

  名称 说明
Public property ChangeVersion 在派生类中重写时,获取或设置对项的最新变更的版本。
Public property CreationVersion 在派生类中重写时,获取或设置项的创建版本。
Public property GlobalId 在派生类中重写时,获取项的全局 ID。
Public property IsDeleted 在派生类中重写时,获取或设置一个指示项是否已从项存储区中删除的值。

顶部

公共方法

(请参阅 受保护的方法 )

  名称 说明
Public method Equals  已重载。 (继承自 Object。)
Public method GetByteField 在派生类中重写时,获取指定的自定义字段的值。
Public method GetBytesField 在派生类中重写时,获取指定的自定义字段的值。
Public method GetChangeUnitEnumerator 在派生类中重写时,返回可用于枚举此项中包含的变更单位的对象。
Public method GetChangeUnitVersion 在派生类中重写时,获取项中包含的变更单位的版本。
Public method GetGuidField 在派生类中重写时,获取指定的自定义字段的值。
Public method GetHashCode  (继承自 Object。)
Public method GetStringField 在派生类中重写时,获取指定的自定义字段的值。
Public method GetType  (继承自 Object。)
Public method GetUInt16Field 在派生类中重写时,获取指定的自定义字段的值。
Public method GetUInt32Field 在派生类中重写时,获取指定的自定义字段的值。
Public method GetUInt64Field 在派生类中重写时,获取指定的自定义字段的值。
Public method MarkAsDeleted 在派生类中重写时,将项标记为已从项存储区中删除。
Public method Static ReferenceEquals  (继承自 Object。)
Public method ResurrectDeletedItem 在派生类中重写时,还原先前标记为已从元数据存储区中删除的项。
Public method SetChangeUnitVersion 在派生类中重写时,设置此项中包含的变更单位的版本。
Public method SetCustomField 已重载。设置指定的自定义字段的值。
Public method ToString  (继承自 Object。)

顶部

受保护的方法

  名称 说明
Protected method Finalize  (继承自 Object。)
Protected method MemberwiseClone  (继承自 Object。)

顶部

请参阅

参考

ItemMetadata 类
Microsoft.Synchronization.MetadataStorage 命名空间