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