PageTheme.CreateSkinKey(Type, String) 方法

定義

建立特定控制項型別和面板 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

參數

controlType
Type

控制面板套用至的控制項 Type,通常從 ControlType 傳遞。

skinID
String

建立索引鍵之控制面板的名稱。

傳回

物件,可做為字典樣式集合中的查閱索引鍵,其中包含控制項型別和面板 ID 資訊。

例外狀況

controlTypenull

適用於