Rediger

Del via


StaticResourceExtension.ResourceKey Property

Definition

Gets or sets the key value passed by this static resource reference. They key is used to return the object matching that key in resource dictionaries.

public:
 property System::Object ^ ResourceKey { System::Object ^ get(); void set(System::Object ^ value); };
public object ResourceKey { get; set; }
member this.ResourceKey : obj with get, set
Public Property ResourceKey As Object

Property Value

The resource key for a resource.

Exceptions

Specified value as null, either through markup extension usage or explicit construction.

Remarks

For XAML usage information, see StaticResource Markup Extension.

Applies to