NAnt SDK Documentation - v0.92

FrameworkFunctions.GetFamily Method 

Gets the family of the specified framework.

[Visual Basic]
<Function(Name:="get-family")>
Public Function GetFamily( _
   ByVal framework As String _
) As String
[C#]
[Function(Name="get-family")]
public string GetFamily(
   string framework
);

Parameters

framework
The framework of which the family should be returned.

Return Value

The family of the specified framework.

Exceptions

Exception Type Condition
ArgumentException framework is not a valid framework identifier.

See Also

FrameworkFunctions Class | NAnt.Core.Functions Namespace | GetRuntimeFramework | GetTargetFramework