指示是否存在一个满足特定类型的文件。
命名空间: Microsoft.VisualStudio.VCProjectEngine
程序集: Microsoft.VisualStudio.VCProjectEngine(在 Microsoft.VisualStudio.VCProjectEngine.dll 中)
语法
声明
Function ContainsFileWithItemType ( _
ItemType As String _
) As Boolean
bool ContainsFileWithItemType(
string ItemType
)
bool ContainsFileWithItemType(
[InAttribute] String^ ItemType
)
abstract ContainsFileWithItemType :
ItemType:string -> bool
function ContainsFileWithItemType(
ItemType : String
) : boolean
参数
ItemType
类型:String文件类型。
返回值
类型:Boolean
true ,如果具有类型参数;与 ItemType 的文件否则,返回 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。