다음을 통해 공유


ModelingTextTransformation.ValidateStore 메서드

지정된 유효성 검사 범주를 사용하여 저장소의 유효성을 검사합니다. 오류가 있으면 true를 반환합니다.

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

구문

‘선언
Protected Function ValidateStore ( _
    categories As String, _
    errors As CompilerErrorCollection _
) As Boolean
protected bool ValidateStore(
    string categories,
    CompilerErrorCollection errors
)
protected:
bool ValidateStore(
    String^ categories, 
    CompilerErrorCollection^ errors
)
member ValidateStore : 
        categories:string * 
        errors:CompilerErrorCollection -> bool
protected function ValidateStore(
    categories : String, 
    errors : CompilerErrorCollection
) : boolean

매개 변수

  • categories
    형식: String

    적용할 유효성 검사 범주입니다. '열기', '로드', '저장' 및 '메뉴'를 사용합니다. 범주가 여러 개이면 '|'를 사용하여 구분합니다.

  • errors
    형식: CompilerErrorCollection

    오류 보고서가 이 컬렉션에 놓입니다.

반환 값

형식: Boolean

.NET Framework 보안

참고 항목

참조

ModelingTextTransformation 클래스

Microsoft.VisualStudio.TextTemplating.VSHost 네임스페이스