PrinterSettings.PaperSourceCollection 成员

包含 PaperSource 对象的集合。

下表列出了由 PrinterSettings.PaperSourceCollection 类型公开的成员。

公共构造函数

  名称 说明
Public method PrinterSettings.PaperSourceCollection 初始化 PrinterSettings.PaperSourceCollection 类的新实例。

页首

公共属性

  名称 说明
Public property Count 获取集合中不同纸张来源的数目。
Public property Item 获取指定索引处的 PaperSource

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Add 将指定的 PaperSource 添加到 PrinterSettings.PaperSourceCollection 的末尾。
Public method CopyTo 从指定索引处开始,将当前 PrinterSettings.PaperSourceCollection 的内容复制到指定数组。
Public method Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method GetEnumerator 返回可循环访问集合的枚举数。
Public method GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Static ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

显式接口实现

  名称 说明
Explicit interface implementation Method System.Collections.ICollection.CopyTo 有关此成员的说明,请参见 CopyTo
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator 有关此成员的说明,请参见 GetEnumerator
Explicit interface implementation Property System.Collections.ICollection.Count 有关此成员的说明,请参见 Count
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized 有关此成员的说明,请参见 IsSynchronized
Explicit interface implementation Property System.Collections.ICollection.SyncRoot 有关此成员的说明,请参见 SyncRoot

页首

请参见

参考

PrinterSettings.PaperSourceCollection 类
System.Drawing.Printing 命名空间
PaperSource 类
PrinterSettings.PaperSources 属性
PrinterSettings.InstalledPrinters 属性
PrinterSettings.PaperSizes 属性
PrinterSettings.PrinterResolutions 属性
ListControl.DisplayMember