XamlTypeInvoker 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 XamlTypeInvoker class.
Overloads
XamlTypeInvoker() |
Initializes a new instance of the XamlTypeInvoker class. |
XamlTypeInvoker(XamlType) |
Initializes a new instance of the XamlTypeInvoker class, based on a provided XamlType. |
XamlTypeInvoker()
Initializes a new instance of the XamlTypeInvoker class.
protected:
XamlTypeInvoker();
protected XamlTypeInvoker ();
Protected Sub New ()
Remarks
The default implementation is empty.
This constructor is invoked internally to provide a value for UnknownInvoker. For a XamlTypeInvoker subclass, it is expected that you either use the XamlTypeInvoker(XamlType) signature for construction or provide an override that calls XamlTypeInvoker(XamlType) as base. Providing the XamlType implements a default pattern where XamlTypeInvoker is immutable.
Applies to
XamlTypeInvoker(XamlType)
Initializes a new instance of the XamlTypeInvoker class, based on a provided XamlType.
public:
XamlTypeInvoker(System::Xaml::XamlType ^ type);
public XamlTypeInvoker (System.Xaml.XamlType type);
new System.Xaml.Schema.XamlTypeInvoker : System.Xaml.XamlType -> System.Xaml.Schema.XamlTypeInvoker
Public Sub New (type As XamlType)
Parameters
- type
- XamlType
The XamlType value for the specific XAML type relevant to this XamlTypeInvoker.
Exceptions
type
is null
.
Remarks
This constructor is called internally based on the XamlType where the XamlTypeInvoker is used for construction. The type
provided here is relevant to all other method calls for XamlTypeInvoker.