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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應