Attribute.Value 属性

定义

将分配给主数据属性的值指定为变体数据类型。

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false)]
public object Value { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false)>]
member this.Value : obj with get, set
Public Property Value As Object

属性值

作为变量数据类型分配给主数据属性的值。

属性

注解

如果 Type 为字符串,则 Object 的类型为 string 如果 Type 为 Domain,则 Object 的类型为 MemberIdentifier (Code 为 Code,Name 为 Name) 如果 Type 为 Number,则 Object 的类型为 Double,如果 Type 为 DateTime,则 Object 的类型为 DateTime,则 Object 的类型为 DateTime 如果 Type 为 File,则 Object 的类型为 FileAttribute。

适用于