HtmlPage.UnregisterCreateableType Method

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

Explicitly unregisters a managed type that was previously registered by using the RegisterCreateableType method.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public Shared Sub UnregisterCreateableType ( _
    scriptAlias As String _
)
public static void UnregisterCreateableType(
    string scriptAlias
)

Parameters

  • scriptAlias
    Type: System.String
    The name of a registered managed type.

Exceptions

Exception Condition
ArgumentNullException

scriptAlias is nulla null reference (Nothing in Visual Basic).

ArgumentException

scriptAlias is an empty string.

Remarks

No action is taken if scriptAlias no longer exists.

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.