NAnt SDK Documentation - v0.92

VcProject.IsSupported Method 

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

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

Remarks

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

  
<VisualStudioProject
    ProjectType="Visual C++"
    Version="..."
    ...
    >
</VisualStudioProject>
  

See Also

VcProject Class | NAnt.VSNet Namespace