StaticResourceExtension Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the StaticResourceExtension class.
Overloads
StaticResourceExtension() |
Initializes a new instance of the StaticResourceExtension class. |
StaticResourceExtension(Object) |
Initializes a new instance of the StaticResourceExtension class, with the provided initial key. |
StaticResourceExtension()
Initializes a new instance of the StaticResourceExtension class.
public:
StaticResourceExtension();
public StaticResourceExtension ();
Public Sub New ()
Applies to
StaticResourceExtension(Object)
Initializes a new instance of the StaticResourceExtension class, with the provided initial key.
public:
StaticResourceExtension(System::Object ^ resourceKey);
public StaticResourceExtension (object resourceKey);
new System.Windows.StaticResourceExtension : obj -> System.Windows.StaticResourceExtension
Public Sub New (resourceKey As Object)
Parameters
- resourceKey
- Object
The key of the resource that this markup extension references.
Exceptions
resourceKey
parameter is null
, either through markup extension usage or explicit construction.