다음을 통해 공유


Item 속성

Gets a DependencyCollectionNode object in the collection by index number.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Default Property Item ( _
    index As Integer _
) As DependencyCollectionNode
    Get
    Set
‘사용 방법
Dim instance As DependencyCollection
Dim index As Integer
Dim value As DependencyCollectionNode

value = instance(index)

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

매개 변수

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .DependencyCollectionNode
A DependencyCollectionNode object value that represents the scripting dependency.

구현

IList< (Of < ( <'T> ) > ) >. . :: . .Item[ ( [ ( Int32] ) ] )

예제

스크립팅