共用方式為


Value 屬性

Gets or sets the object value of an IDTSCustomProperty100 object.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Property Value As Object
    Get
    Set
'用途
Dim instance As IDTSCustomProperty100
Dim value As Object

value = instance.Value

instance.Value = value
Object Value { get; set; }
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
abstract Value : Object with get, set
function get Value () : Object
function set Value (value : Object)

屬性值

型別:System. . :: . .Object
An object that contains the value of the IDTSCustomProperty100 object.

備註

Custom properties contain variants or objects that allow them to store object values for all types of objects. When retrieving the value of a custom property, the object is then cast to the expected type.

[!附註]

The IDTSCustomProperty100 interface has limited support for property values of type Object. The only object that you can store as the value of a custom property is an array of simple types such as strings or integers.