VCProject.ContainsFileWithItemType Method
Indicates whether there is a file whose type matches a specified type.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Декларация
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
Parameters
- ItemType
Type: System.String
A file type.
Return Value
Type: System.Boolean
true if there is a file whose type matches the ItemType parameter; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.