NAnt SDK Documentation - v0.92

VBProject.IsSupported Method 

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

[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 VBProject supports the specified project; otherwise, false.

Remarks

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

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

See Also

VBProject Class | NAnt.VSNet Namespace