PageTheme.CreateSkinKey Method (Type, String)
.NET Framework (current version)
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.
Assembly: System.Web (in System.Web.dll)
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.ObjectAn 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
Available since 2.0
Show: