VsValidationController.ValidateCustom 메서드 (IEnumerable<ModelElement>, array<String[])
요소 집합의 모든 유효성 검사 메서드를 호출합니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Shell
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
구문
‘선언
Public Overrides Function ValidateCustom ( _
subjects As IEnumerable(Of ModelElement), _
ParamArray customCategories As String() _
) As Boolean
public override bool ValidateCustom(
IEnumerable<ModelElement> subjects,
params string[] customCategories
)
매개 변수
- subjects
형식: System.Collections.Generic.IEnumerable<ModelElement>
유효성을 검사할 요소의 목록입니다.
- customCategories
형식: array<System.String[]
문자열 목록입니다.지정된 문자열 중 하나와 같은 사용자 지정 유효성 검사 문자열이 있으면 유효성 검사 메서드가 실행됩니다.
반환 값
형식: System.Boolean
설명
ValidationMethod 특성에 사용자 지정 항목을 지정 하는 유효성 검사 메서드를 호출 하려면이 메서드를 사용 합니다. 각 사용자 지정 범주 문자열에 의해 식별 됩니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.