다음을 통해 공유


ContextNodeCollection.Count 속성

업데이트: 2007년 11월

ContextNodeCollection에 들어 있는 ContextNode 개체 수를 가져옵니다.

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

구문

‘선언
Public ReadOnly Property Count As Integer
‘사용 방법
Dim instance As ContextNodeCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
/** @property */
public final int get_Count()
public final function get Count () : int

속성 값

형식: System.Int32
ContextNodeCollection 에 들어 있는 ContextNode 개체 수입니다.

구현

ICollection.Count

예제

다음 예제에서는 nodes라는 ContextNodeCollection의 노드 수를 가져옵니다.

Dim nNodes As Integer = nodes.Count
int nNodes = nodes.Count;

플랫폼

Windows Vista

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

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

ContextNodeCollection 클래스

ContextNodeCollection 멤버

System.Windows.Ink 네임스페이스