次の方法で共有


SourceControl.ExcludeItems メソッド

指定したプロジェクトから複数の項目を除外します。

名前空間:  EnvDTE
アセンブリ:  EnvDTE (EnvDTE.dll 内)

構文

'宣言
Sub ExcludeItems ( _
    ProjectFile As String, _
    ByRef ItemNames As Object() _
)
void ExcludeItems(
    string ProjectFile,
    ref Object[] ItemNames
)
void ExcludeItems(
    [InAttribute] String^ ProjectFile, 
    [InAttribute] array<Object^>^% ItemNames
)
abstract ExcludeItems : 
        ProjectFile:string * 
        ItemNames:Object[] byref -> unit 
function ExcludeItems(
    ProjectFile : String, 
    ItemNames : Object[]
)

パラメーター

  • ProjectFile
    型: System.String
    除外するファイルを参照するプロジェクト ファイルの名前を指定します。
  • ItemNames
    型: array<System.Object[]%
    除外する項目を指定する文字列の配列を指定します。

.NET Framework セキュリティ

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

参照

参照

SourceControl インターフェイス

EnvDTE 名前空間