NAnt SDK Documentation - v0.92

JSharpProject.IsSupported Method 

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

[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 J# project, if the XML fragment at least has the following information:

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

See Also

JSharpProject Class | NAnt.VSNet Namespace