ResourceKey ResourceKey ResourceKey ResourceKey Class


Provides an abstract base class for various resource keys.

public ref class ResourceKey abstract : System::Windows::Markup::MarkupExtension
public abstract class ResourceKey : System.Windows.Markup.MarkupExtension
type ResourceKey = class
    inherit MarkupExtension
Public MustInherit Class ResourceKey
Inherits MarkupExtension


This class provides no functionality except to supply a common base class for simple key detection in resource components.

Resource keys are either strings or instances of a type. This class provides support for classes that base key values on other object values, where the objects passed in assure uniqueness of the generated resource keys.


ResourceKey() ResourceKey() ResourceKey() ResourceKey()

Initializes a new instance of a class derived from ResourceKey.


Assembly Assembly Assembly Assembly

Gets an assembly object that indicates which assembly's dictionary to look in for the value associated with this key.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProvideValue(IServiceProvider) ProvideValue(IServiceProvider) ProvideValue(IServiceProvider) ProvideValue(IServiceProvider)

Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to