Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Simple derivation of ResourceKey, templated to allow the overridden Assembly property to return the correct assembly based on typeof(T).
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public NotInheritable Class StyleKey(Of T) _
Inherits ResourceKey
'Usage
Dim instance As StyleKey(Of T)
public sealed class StyleKey<T> : ResourceKey
generic<typename T>
public ref class StyleKey sealed : public ResourceKey
[<SealedAttribute>]
type StyleKey<'T> =
class
inherit ResourceKey
end
JScript does not support generic types or methods.
Type Parameters
- T
The type with which this StyleKey is associated with.
Inheritance Hierarchy
System.Object
System.Windows.Markup.MarkupExtension
System.Windows.ResourceKey
Microsoft.VisualStudio.PlatformUI.StyleKey<T>
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.