VersioningHelper.MakeVersionSafeName Method (String, ResourceScope, ResourceScope)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a version-safe name based on the specified resource name and the intended resource consumption source.

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function MakeVersionSafeName ( _
    name As String, _
    from As ResourceScope, _
    to As ResourceScope _
) As String
public static string MakeVersionSafeName(
    string name,
    ResourceScope from,
    ResourceScope to
)

Parameters

Return Value

Type: System.String
A version-safe name.

Remarks

The original name is returned with a scope related suffix. The suffix may include the process identity, the current AppDomain identity, or both.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.