NAnt SDK Documentation - v0.92 |

# CSharpProject.IsSupported Method

Returns a value indicating whether the project represented by the specified XML fragment is supported by CSharpProject.

[Visual Basic]
Public Shared Function IsSupported( _
ByVal docElement As XmlElement _
) As Boolean
[C#]
public static bool IsSupported(
XmlElement docElement
);

#### Parameters

docElement
  XML fragment representing the project to check.

#### Return Value

true if CSharpProject supports the specified project; otherwise, false.

#### Remarks

A project is identified as as C# project, if the XML fragment at least has the following information:

    <VisualStudioProject>
        <CSHARP
            ProductVersion="..."
            ....
        >
            ...
        </CSHARP>
    </VisualStudioProject>

#### See Also

CSharpProject Class | NAnt.VSNet Namespace