PageRange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a range of pages.
public value class PageRange
public struct PageRange
type PageRange = struct
Public Structure PageRange
- Inheritance
Remarks
PageRange defines a range of pages that should be processed in an operation such as printing.
Constructors
PageRange(Int32) |
Initializes a new instance of the PageRange class that includes only the single specified page. |
PageRange(Int32, Int32) |
Initializes a new instance of the PageRange class with the specified first and last pages. |
Properties
PageFrom |
Gets or sets the page number of the first page in the range. |
PageTo |
Gets or sets the page number of the last page in the range. |
Methods
Equals(Object) |
Tests whether an object of unknown type is equal to this PageRange. |
Equals(PageRange) | |
GetHashCode() |
Gets the hash code value for the PageRange. |
ToString() |
Gets a string representation of the range. |
Operators
Equality(PageRange, PageRange) |
Defines the "==" operator for testing whether two specified PageRange objects are equal. |
Inequality(PageRange, PageRange) |
Defines the "!=" operator for testing whether two specified PageRange objects are not equal. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應