다음을 통해 공유


StyleProperties.Item 속성 (Int32)

Gets the value of the style located in the collection at the position indicated by the index. In C#, this property is the indexer for the StyleProperties class.

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

구문

‘선언
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Object 
    Get
‘사용 방법
Dim instance As StyleProperties 
Dim index As Integer 
Dim value As Object 

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

매개 변수

  • index
    유형: System.Int32
    The zero-based index of the style value to find in the collection.

속성 값

유형: System.Object
An Object containing the value of the style found in the location specified by the index.

주의

The objects referenced in the StyleProperties class are the same as those in the Style class, however the Style class differentiates between shared and non-shared properties.

In 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.

참고 항목

참조

StyleProperties 클래스

Item 오버로드

Microsoft.ReportingServices.ReportRendering 네임스페이스