Condividi tramite


Proprietà InkRecognizerBaseCollection.IsSynchronized

Aggiornamento: novembre 2007

Ottiene un valore che indica se l'accesso all'insieme è sincronizzato (thread-safe).

Spazio dei nomi:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property IsSynchronized As Boolean
'Utilizzo
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

Valore proprietà

Tipo: System.Boolean
false in tutti i casi.

Implementa

ICollection.IsSynchronized

Note

Questo insieme implementa l'interfaccia System.Collections.ICollection. Per ulteriori informazioni su questa proprietà, vedere ICollection.IsSynchronized.

Esempi

In questo esempio viene illustrato come ottenere il primo sistema di riconoscimento in InkRecognizerBaseCollection, theInkRecognizerCollection, se l'insieme non è vuoto. In questo esempio viene inoltre verificato se l'insieme è sincronizzato.

' 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.
            }

Piattaforme

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

InkRecognizerBaseCollection Classe

Membri InkRecognizerBaseCollection

Spazio dei nomi System.Windows.Ink.AnalysisCore