Editare

Partajați prin


PageTheme.CreateSkinKey(Type, String) Method

Definition

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

public:
 static System::Object ^ CreateSkinKey(Type ^ controlType, System::String ^ skinID);
public static object CreateSkinKey (Type controlType, string skinID);
static member CreateSkinKey : Type * string -> obj
Public Shared Function CreateSkinKey (controlType As Type, skinID As String) As Object

Parameters

controlType
Type

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

skinID
String

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

Returns

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

Exceptions

controlType is null.

Applies to