ImageSourcePartLoader 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ImageSourcePartLoader(IImageSourcePartSetter) | |
ImageSourcePartLoader(IElementHandler, Func<IImageSourcePart>, Action<Object>) |
已淘汰.
|
ImageSourcePartLoader(IImageSourcePartSetter)
public:
ImageSourcePartLoader(Microsoft::Maui::Platform::IImageSourcePartSetter ^ setter);
public ImageSourcePartLoader (Microsoft.Maui.Platform.IImageSourcePartSetter setter);
new Microsoft.Maui.Platform.ImageSourcePartLoader : Microsoft.Maui.Platform.IImageSourcePartSetter -> Microsoft.Maui.Platform.ImageSourcePartLoader
Public Sub New (setter As IImageSourcePartSetter)
參數
- setter
- IImageSourcePartSetter
適用於
ImageSourcePartLoader(IElementHandler, Func<IImageSourcePart>, Action<Object>)
警告
Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.
public:
ImageSourcePartLoader(Microsoft::Maui::IElementHandler ^ handler, Func<Microsoft::Maui::IImageSourcePart ^> ^ imageSourcePart, Action<System::Object ^> ^ setImage);
[System.Obsolete("Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.", true)]
public ImageSourcePartLoader (Microsoft.Maui.IElementHandler handler, Func<Microsoft.Maui.IImageSourcePart?> imageSourcePart, Action<object?> setImage);
[<System.Obsolete("Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.", true)>]
new Microsoft.Maui.Platform.ImageSourcePartLoader : Microsoft.Maui.IElementHandler * Func<Microsoft.Maui.IImageSourcePart> * Action<obj> -> Microsoft.Maui.Platform.ImageSourcePartLoader
Public Sub New (handler As IElementHandler, imageSourcePart As Func(Of IImageSourcePart), setImage As Action(Of Object))
參數
- handler
- IElementHandler
- imageSourcePart
- Func<IImageSourcePart>
- 屬性