Partager via


ThemeResourceKey Constructor

Initializes a new instance of the ThemeResourceKey class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    category As Guid, _
    name As String, _
    keyType As ThemeResourceKeyType _
)
public ThemeResourceKey(
    Guid category,
    string name,
    ThemeResourceKeyType keyType
)
public:
ThemeResourceKey(
    Guid category, 
    String^ name, 
    ThemeResourceKeyType keyType
)
new : 
        category:Guid * 
        name:string * 
        keyType:ThemeResourceKeyType -> ThemeResourceKey
public function ThemeResourceKey(
    category : Guid, 
    name : String, 
    keyType : ThemeResourceKeyType
)

Parameters

  • category
    Type: Guid

    The category associated with this key.

  • name
    Type: String

    The name associated with this key.

.NET Framework Security

See Also

Reference

ThemeResourceKey Class

Microsoft.VisualStudio.Shell Namespace