StaticResourceExtension Constructor (Object^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the StaticResourceExtension class, with the provided initial key.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
StaticResourceExtension(
	Object^ resourceKey
)

Parameters

resourceKey
Type: System::Object^

The key of the resource that this markup extension references.

Exception Condition
ArgumentNullException

resourceKey parameter is null, either through markup extension usage or explicit construction.

.NET Framework
Available since 3.0
Return to top
Show: