InstanceValue 类
定义
存储有关实例数据和元数据的信息。Stores the information about instance data and metadata.
public ref class InstanceValue sealed
public sealed class InstanceValue
[System.Runtime.Serialization.DataContract]
public sealed class InstanceValue
type InstanceValue = class
[<System.Runtime.Serialization.DataContract>]
type InstanceValue = class
Public NotInheritable Class InstanceValue
- 继承
-
InstanceValue
- 属性
注解
实例永久性系统中的数据和元数据是按属性包中的已命名值组织的。The data and metadata in the instance persistence system is organized as named values in property bags. 每个属性包是一个将 XName 对与 InstanceValue 对象关联的字典。Each property bag is a dictionary associating XName objects with InstanceValue objects.
构造函数
| InstanceValue(Object) |
通过使用作为参数传递的值对象初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using value object passed as a parameter. |
| InstanceValue(Object, InstanceValueOptions) |
使用作为参数传递的值对象和这些值的选项初始化 InstanceValue 类的实例。Initializes an instance of the InstanceValue class by using the value Object and the options for those values passed as parameters. |
属性
| DeletedValue |
获取以前删除的值。Gets the previously deleted value. |
| IsDeletedValue |
获取一个值,该值指示该对象是否表示一个删除的值。Gets a value that indicates whether the object represents a deleted value. |
| Options |
为实例值获取选项。Gets the option for an instance value. |
| Value |
获取作为对象的实例值。Gets the instance value as an object. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |