PageTheme.CreateSkinKey(Type, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de