다음을 통해 공유


ContextNodeBaseCollection.Insert 메서드

업데이트: 2007년 11월

ContextNodeBaseCollection의 지정된 인덱스에 ContextNodeBase를 삽입합니다.

네임스페이스:  System.Windows.Ink.AnalysisCore
어셈블리:  IACore(IACore.dll)

구문

‘선언
Public Sub Insert ( _
    index As Integer, _
    nodeToInsert As ContextNodeBase _
)
‘사용 방법
Dim instance As ContextNodeBaseCollection
Dim index As Integer
Dim nodeToInsert As ContextNodeBase

instance.Insert(index, nodeToInsert)
public void Insert(
    int index,
    ContextNodeBase nodeToInsert
)
public:
void Insert(
    int index, 
    ContextNodeBase^ nodeToInsert
)
public void Insert(
    int index,
    ContextNodeBase nodeToInsert
)
public function Insert(
    index : int, 
    nodeToInsert : ContextNodeBase
)

매개 변수

  • index
    형식: System.Int32
    nodeToInsert 매개 변수에 지정된 ContextNodeBase 개체를 삽입할 인덱스(0부터 시작)입니다.

설명

nodeToInsert 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)이면 이 메서드는 예외를 throw합니다.

예제

다음 예제에서는 이름이 firstNode인 ContextNodeBase를 이름이 nodes인 ContextNodeBaseCollection의 시작 부분에 삽입합니다.

nodes.Insert(0, firstNode)
            nodes.Insert(0, firstNode);

플랫폼

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

ContextNodeBaseCollection 클래스

ContextNodeBaseCollection 멤버

System.Windows.Ink.AnalysisCore 네임스페이스