다음을 통해 공유


ContextNodeCollection.Insert 메서드

업데이트: 2007년 11월

ContextNodeCollection의 지정된 인덱스에 ContextNode를 삽입합니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink.Analysis(Microsoft.Ink.Analysis.dll)

구문

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

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

매개 변수

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

설명

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

예제

다음 예제에서는 ContextNodeCollection인 nodes의 시작 부분에 ContextNode인 firstNode를 삽입합니다.

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

플랫폼

Windows Vista

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

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

ContextNodeCollection 클래스

ContextNodeCollection 멤버

Microsoft.Ink 네임스페이스