다음을 통해 공유


ValidationContext 생성자 (array<String[], IEnumerable<ModelElement>)

Ctor

네임스페이스:  Microsoft.VisualStudio.Modeling.Validation
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

구문

‘선언
Public Sub New ( _
    customCategories As String(), _
    subjects As IEnumerable(Of ModelElement) _
)
public ValidationContext(
    string[] customCategories,
    IEnumerable<ModelElement> subjects
)

매개 변수

  • customCategories
    형식: array<System.String[]
    지정된 사용자 지정 문자열의 목록입니다.유효성 검사 메서드가 지정된 문자열의 유효성을 검사할 수 있습니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ValidationContext 클래스

ValidationContext 오버로드

Microsoft.VisualStudio.Modeling.Validation 네임스페이스