共用方式為


IDTSCustomProperty100.Value Property

Definition

Gets or sets the object value of an IDTSCustomProperty100 object.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
[System.Runtime.InteropServices.DispId(101)]
public object Value { [System.Runtime.InteropServices.DispId(101)] get; [System.Runtime.InteropServices.DispId(101)] set; }
[<System.Runtime.InteropServices.DispId(101)>]
[<get: System.Runtime.InteropServices.DispId(101)>]
[<set: System.Runtime.InteropServices.DispId(101)>]
member this.Value : obj with get, set
Public Property Value As Object

Property Value

The value of the IDTSCustomProperty100 object.

Attributes

Remarks

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.

Note

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.

Applies to