PackageItems 类
Contains a collection of PackageItem objects.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.PackageItems
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public NotInheritable Class PackageItems _
Implements IEnumerable(Of PackageItem), IEnumerable
用法
Dim instance As PackageItems
public sealed class PackageItems : IEnumerable<PackageItem>,
IEnumerable
public ref class PackageItems sealed : IEnumerable<PackageItem^>,
IEnumerable
[<SealedAttribute>]
type PackageItems =
class
interface IEnumerable<PackageItem>
interface IEnumerable
end
public final class PackageItems implements IEnumerable<PackageItem>, IEnumerable
PackageItems 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | Gets the number of PackageItem contained in the PackageItems collection. | |
Item[Int32] | Returns a PackageItem object from the PackageItems collection with specified index. | |
Item[String] | Returns a PackageItem object from the PackageItems collection with specified stream name. |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Add a PackageItem object to the PackageItems collection with specified stream name and package. | |
Equals | (从 Object 继承。) | |
GetEnumerator | Returns a IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection. | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
IndexOf | Reports the index of the occurrence of the specified string in this instance. | |
Insert | Insert a PackageItem object to the PackageItems collection with specified index, stream name, and package. | |
Remove | Returns a value that indicates whether a PackageItem object from the PackageItems collection with specified stream name was removed. | |
RemoveAt | Removes a PackageItem object from the PackageItems collection with specified index. | |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
IEnumerable.GetEnumerator | Retrieves an enumerator that can be used to iterate through the current collection. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。