XmlReader.CanReadValueChunk Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si la XmlReader méthode implémente ReadValueChunk(Char[], Int32, Int32) .
public:
virtual property bool CanReadValueChunk { bool get(); };
public virtual bool CanReadValueChunk { get; }
member this.CanReadValueChunk : bool
Public Overridable ReadOnly Property CanReadValueChunk As Boolean
Valeur de propriété
true si la XmlReader méthode implémente ReadValueChunk(Char[], Int32, Int32) ; sinon false.
Exceptions
Une XmlReader méthode a été appelée avant la fin d’une opération asynchrone précédente. Dans ce cas, InvalidOperationException est levée avec le message « Une opération asynchrone est déjà en cours ».
Remarques
Les objets d’analyse de XmlReader texte créés à partir de la méthode statique Create retournent truetoujours . Toutes les autres implémentations Microsoft .NET Framework de la classe XmlReader, y compris la classe XmlTextReader, retournent false.
Si cette propriété retourne false une NotSupportedException valeur renvoyée lorsque la ReadValueChunk méthode est appelée.