Partager via


Classe ValidationErrorCollection

Contains a collection of ValidationError objects. This class cannot be inherited.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices..::..ValidationErrorCollection

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("287DFF2E-4C90-4907-B235-A7C2CBE0706B")> _
Public NotInheritable Class ValidationErrorCollection _
    Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As ValidationErrorCollection
[GuidAttribute("287DFF2E-4C90-4907-B235-A7C2CBE0706B")]
public sealed class ValidationErrorCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"287DFF2E-4C90-4907-B235-A7C2CBE0706B")]
public ref class ValidationErrorCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("287DFF2E-4C90-4907-B235-A7C2CBE0706B")>]
type ValidationErrorCollection =  
    class
        interface IList
        interface ICollection
        interface IEnumerable
    end
public final class ValidationErrorCollection implements IList, ICollection, IEnumerable

Le type ValidationErrorCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ValidationErrorCollection Initializes a new instance of ValidationError.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of ValidationError objects in the collection.
Propriété publique Item Gets the ValidationError at the specified index.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add(ValidationError) Adds a ValidationError to the end of the collection.
Méthode publique Add(IModelComponent, String) Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
Méthode publique Add(IModelComponent, String, ErrorPriority) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and ErrorPriority value, to the end of the collection.
Méthode publique Add(IModelComponent, String, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and error code, to the end of the collection.
Méthode publique Add(IModelComponent, String, ErrorPriority, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, ErrorPriority value, and error code, to the end of the collection.
Méthode publique AddRange Adds the elements of a ICollection to the end of the collection.
Méthode publique Clear Removes all elements from the collection.
Méthode publique Contains Indicates whether the collection contains a specified ValidationError.
Méthode publique CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf Gets the index of a specified ValidationError.
Méthode publique Insert Inserts a ValidationError into the collection at the specified index.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove Removes the specified ValidationError from the collection.
Méthode publique RemoveAt Removes the ValidationError at the specified index from the collection.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.