다음을 통해 공유


InkRecognizerBaseCollection.IsSynchronized 속성

업데이트: 2007년 11월

해당 컬렉션에 대한 액세스가 동기화되어 스레드로부터 안전하게 보호되는지 여부를 나타내는 값을 가져옵니다.

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

구문

‘선언
Public ReadOnly Property IsSynchronized As Boolean
‘사용 방법
Dim instance As InkRecognizerBaseCollection
Dim value As Boolean

value = instance.IsSynchronized
public bool IsSynchronized { get; }
public:
virtual property bool IsSynchronized {
    bool get () sealed;
}
/** @property */
public final boolean get_IsSynchronized()
public final function get IsSynchronized () : boolean

속성 값

형식: System.Boolean
모든 경우에 false입니다.

구현

ICollection.IsSynchronized

설명

이 컬렉션은 System.Collections.ICollection 인터페이스를 구현합니다. 이 속성에 대한 자세한 내용은 ICollection.IsSynchronized를 참조하십시오.

예제

이 예제에서는 컬렉션이 비어 있지 않은 경우 theInkRecognizerCollection이라는 InkRecognizerBaseCollection에서 첫 번째 인식기를 가져옵니다. 또한 컬렉션이 동기화되었는지 확인합니다.

' Create a collection of the recognizers installed on this Tablet PC.
Dim theInkRecognizerCollection As InkRecognizerBaseCollection = _
    theInkAnalyzerBase.GetInkRecognizersByPriority()

' Check if there are recognizers in the collection.
If (0 < theInkRecognizerCollection.Count) Then
    ' Get the first recognizer in the collection.
    Dim theFirstInkRecognizer As System.Windows.Ink.AnalysisCore.InkRecognizerBase = _
        theInkRecognizerCollection.Item(0)

    ' Check if the recognizers collection is synchronized.
    If (theInkRecognizerCollection.IsSynchronized) Then
        ' Insert code here.
    End If
End If
            // Create a collection of the recognizers installed on this Tablet PC.
            InkRecognizerBaseCollection theInkRecognizerCollection =
                theInkAnalyzerBase.GetInkRecognizersByPriority();

            // Check if there are recognizers in the collection.
            if (0 < theInkRecognizerCollection.Count)
            {
                // Get the first recognizer in the collection.
                InkRecognizerBase theFirstInkRecognizer =
                    theInkRecognizerCollection[0];

                // Insert code here.
            }

            // Check if the recognizers collection is synchronized.
            if (theInkRecognizerCollection.IsSynchronized)
            {
                // Insert code here.
            }

플랫폼

Windows Vista, Windows XP SP2, Windows Server 2003

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

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

InkRecognizerBaseCollection 클래스

InkRecognizerBaseCollection 멤버

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