PageTheme.CreateSkinKey Method (Type, String)


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

Creates a lookup key object for a particular control type and skin ID.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public static object CreateSkinKey(
	Type controlType,
	string skinID


Type: System.Type

The Type of control to which a control skin applies, which is passed typically from the ControlType.

Type: System.String

The name of the control skin for which to create a key.

Return Value

Type: System.Object

An object that can be used as a lookup key in a dictionary-style collection, which contains the control type and skin ID information.

Exception Condition

controlType is null.

.NET Framework
Available since 2.0
Return to top