System.Runtime.Versioning.VersioningHelper.MakeVersionSafeName Method

Returns a version-safe name based on the specified resource name, the intended resource consumption scope, and the type using the resource.

Syntax

public static string MakeVersionSafeName (string name, ResourceScope from, ResourceScope to, Type type)

Parameters

name
The name of the resource.
from
The beginning of the scope range.
to
The end of the scope range.
type
The Type of the resource.

Returns

A version-safe name.

Remarks

The original name is returned with a scope related suffix.

Requirements

Namespace: System.Runtime.Versioning
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0