Udostępnij za pośrednictwem


Metoda IValidationRuleViolationCollection.AddRange —

Dodaje kolekcja naruszenia reguł do kolekcji naruszeń reguł.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint.Validation
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
Sub AddRange ( _
    ruleViolations As IEnumerable(Of IValidationRuleViolation) _
)
void AddRange(
    IEnumerable<IValidationRuleViolation> ruleViolations
)

Parametry

Uwagi

Ta metoda może być przydatne w wystających jednego typu Błąd typu naruszenie reguły opakowań przy użyciu LINQ.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IValidationRuleViolationCollection Interfejs

Przestrzeń nazw Microsoft.VisualStudio.SharePoint.Validation