NetFrameworkVersion Class

public class NetFrameworkVersion extends ExpandableStringEnum

Defines values for .NET framework version.

Field Summary

Modifier and Type Field and Description
final NetFrameworkVersion V3_0

Static value v3.5 for NetFrameworkVersion.

final NetFrameworkVersion V4_6

Static value v4.6 for NetFrameworkVersion.

Method Summary

Modifier and Type Method and Description
NetFrameworkVersion fromString(String name)

Finds or creates a .NET Framework version based on the name.

Collection<NetFrameworkVersion> values()

Inherited Members

Field Details

V3_0

public static final NetFrameworkVersion V3_0= NetFrameworkVersion.fromString("v3.0")

Static value v3.5 for NetFrameworkVersion.

V4_6

public static final NetFrameworkVersion V4_6= NetFrameworkVersion.fromString("v4.6")

Static value v4.6 for NetFrameworkVersion.

Method Details

fromString

public static NetFrameworkVersion fromString(String name)

Finds or creates a .NET Framework version based on the name.

Parameters:

name - a name

Returns:

an instance of NetFrameworkVersion

values

public static Collection values()

Returns:

known .NET framework versions

Applies to