共用方式為


IDTSCustomPropertyCollection100 Interface

Definition

Contains a collection of IDTSCustomProperty100 objects.

public interface class IDTSCustomPropertyCollection100 : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("6572CF14-47A2-4D56-9D97-724519547028")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("3C88E98B-D1B8-4D9E-B66E-E8A9A687618A")]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("FC9C6EB3-F689-47CA-AAC9-C0F0BEEE5B6B")]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("6572CF14-47A2-4D56-9D97-724519547028")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("3C88E98B-D1B8-4D9E-B66E-E8A9A687618A")>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("FC9C6EB3-F689-47CA-AAC9-C0F0BEEE5B6B")>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
Public Interface IDTSCustomPropertyCollection100
Implements IEnumerable
Attributes
Implements

Remarks

Custom properties provide a mechanism for data flow objects to expose additional properties beyond those implemented in the interface itself. For example, the OLE DB source adapter contains a custom property that allows the user to specify the SQL statement for the data source.

The custom property collection of the IDTSComponentMetaData100 interface is populated during a call to the ProvideComponentProperties method. Properties should not be added to this collection at any other time.

The following interfaces contain a custom property collection:

Properties

Count

Gets the number of elements contained in an IDTSCustomPropertyCollection100.

Item[Object]

Gets the IDTSCustomProperty100 specified by the Index parameter.

Methods

FindObjectByID(Int32)

Locates a requested object in a collection by its ID.

FindObjectIndexByID(Int32)

Locates the index of a requested object in a collection by its ID.

GetEnumerator()

Returns an enumerator that can iterate through an IDTSCustomPropertyCollection100.

GetObjectByID(Int32)

Gets an IDTSCustomPropertyCollection100 object that has the specified ID.

GetObjectIndexByID(Int32)

Gets the index of an IDTSCustomProperty100 object that has the specified ID.

New()

Creates a new IDTSCustomProperty100 object and adds it to the end of the collection.

NewAt(Int32)

Creates a new IDTSCustomProperty100 object at the specified location in the collection.

RemoveAll()

Deletes each IDTSCustomProperty100 object in a collection.

RemoveObjectByID(Int32)

Deletes an IDTSCustomProperty100 having the specified ID.

RemoveObjectByIndex(Object)

Deletes an IDTSCustomProperty100 object at the location specified by Index.

SetIndex(Int32, Int32)

Changes the location of an IDTSCustomProperty100 object in a collection.

Applies to