PageTheme.CreateSkinKey Method (Type, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

controlType
Type: System.Type

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

skinID
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
ArgumentNullException

controlType is null.

.NET Framework
Available since 2.0
Return to top
Show: