Share via


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

'Declaration
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

Return Value

Type: System.Boolean
true if there is a file whose type matches the ItemType parameter; otherwise, false.

.NET Framework Security

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace