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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.