InkRecognizerBaseCollection.IsSynchronized, propriété
Mise à jour : November 2007
Obtient une valeur qui indique si l'accès à la collection est synchronisé (thread-safe).
Espace de noms : System.Windows.Ink.AnalysisCore
Assembly : IACore (dans IACore.dll)
Syntaxe
'Déclaration
Public ReadOnly Property IsSynchronized As Boolean
'Utilisation
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
Valeur de propriété
Type : System.Boolean
false dans tous les cas.
Implémentations
Notes
Cette collection implémente l'interface System.Collections.ICollection. Pour plus d'informations sur cette propriété, consultez ICollection.IsSynchronized.
Exemples
Cet exemple obtient le premier module de reconnaissance dans le InkRecognizerBaseCollection, theInkRecognizerCollection, si la collection n'est pas vide. Cet exemple vérifie également si la collection est synchronisée.
' 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.
}
Plateformes
Windows Vista, Windows XP SP2, Windows Server 2003
Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Informations de version
.NET Framework
Pris en charge dans : 3.0
Voir aussi
Référence
InkRecognizerBaseCollection, classe