Partager via


NetFrameworkVersion Class

public final class NetFrameworkVersion
extends ExpandableStringEnum<NetFrameworkVersion>

Defines values for .NET framework version.

Field Summary

Modifier and Type Field and Description
static final NetFrameworkVersion V3_0

Static value v3.5 for NetFrameworkVersion.

static final NetFrameworkVersion V4_6

Static value v4.6 for NetFrameworkVersion.

Constructor Summary

Constructor Description
NetFrameworkVersion()

Method Summary

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

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

static Collection<NetFrameworkVersion> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

V3_0

public static final NetFrameworkVersion V3_0

Static value v3.5 for NetFrameworkVersion.

V4_6

public static final NetFrameworkVersion V4_6

Static value v4.6 for NetFrameworkVersion.

Constructor Details

NetFrameworkVersion

public 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