다음을 통해 공유


Item 속성

Gets the specified Page object from the collection at the specified index. In C#, this property is the indexer for the PageCollection class.

네임스페이스:  Microsoft.ReportingServices.ReportRendering
어셈블리:  Microsoft.ReportingServices.ProcessingCore.dll의 Microsoft.ReportingServices.ProcessingCore

구문

‘선언
Public Default Property Item ( _
    pageNumber As Integer _
) As Page
    Get
    Set
‘사용 방법
Dim instance As PageCollection
Dim pageNumber As Integer
Dim value As Page

value = instance(pageNumber)

instance(pageNumber) = value
public Page this[
    int pageNumber
] { get; set; }
public:
property Page^ default[int pageNumber] {
    Page^ get (int pageNumber);
    void set (int pageNumber, Page^ value);
}
member Item : Page with get, set
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

속성 값

형식: Microsoft.ReportingServices.ReportRendering. . :: . .Page
A Page object, or a null value if the specified Page does not exist.

주의

In Microsoft JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.