IMauiHandlersFactory.GetHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetHandler(Type) | |
GetHandler<T>() |
GetHandler(Type)
public:
Microsoft::Maui::IElementHandler ^ GetHandler(Type ^ type);
public Microsoft.Maui.IElementHandler? GetHandler (Type type);
abstract member GetHandler : Type -> Microsoft.Maui.IElementHandler
Public Function GetHandler (type As Type) As IElementHandler
参数
- type
- Type
返回
适用于
GetHandler<T>()
public:
generic <typename T>
where T : Microsoft::Maui::IElement Microsoft::Maui::IElementHandler ^ GetHandler();
public Microsoft.Maui.IElementHandler? GetHandler<T> () where T : Microsoft.Maui.IElement;
abstract member GetHandler : unit -> Microsoft.Maui.IElementHandler (requires 'T :> Microsoft.Maui.IElement)
Public Function GetHandler(Of T As IElement) () As IElementHandler
类型参数
- T