次の方法で共有


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
    適用する検証のカテゴリ。'open'、'load'、'save'、および 'menu' を使用します。複数のカテゴリを指定するときは '|' で区切ります。

戻り値

型: System.Boolean

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ModelingTextTransformation クラス

Microsoft.VisualStudio.TextTemplating.VSHost 名前空間