ModelingTextTransformation.ValidateStore 메서드

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

네임스페이스:  Microsoft.VisualStudio.TextTemplating.VSHost
어셈블리:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0(Microsoft.VisualStudio.TextTemplating.Modeling.10.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
    형식: System.String
    적용할 유효성 검사 범주입니다.'열기', '로드', '저장' 및 '메뉴'를 사용합니다.범주가 여러 개이면 '|'를 사용하여 구분합니다.

반환 값

형식: System.Boolean

.NET Framework 보안

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

참고 항목

참조

ModelingTextTransformation 클래스

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