VCFilter.AddFile 方法
會將檔案加入目前的篩選條件。
命名空間: Microsoft.VisualStudio.VCProjectEngine
組件: Microsoft.VisualStudio.VCProjectEngine (在 Microsoft.VisualStudio.VCProjectEngine.dll 中)
語法
'宣告
Function AddFile ( _
bstrPath As String _
) As Object
Object AddFile(
string bstrPath
)
Object^ AddFile(
String^ bstrPath
)
abstract AddFile :
bstrPath:string -> Object
function AddFile(
bstrPath : String
) : Object
參數
- bstrPath
型別:System.String
必要項。若要加入至專案或資料夾的篩選器名稱。
傳回值
型別:System.Object
表示檔案名稱的字串。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。