UtilityIdentifierAndVersionFromTargetFramework Method

This is used to determine the target framework identifier and version from the given target framework value.

Definition

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public static (string TargetFrameworkIdentifier, string Version) IdentifierAndVersionFromTargetFramework(
	this string targetFramework
)

Parameters

targetFramework  String
The target framework value for which to identify the target framework identifier and version.

Return Value

ValueTupleString, String
A tuple containing the target framework identifier and version if it could be determined or two empty strings if not.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also