Share via


ShareProvider コンストラクター

定義

新しい ShareProvider オブジェクトを作成します。

public:
 ShareProvider(Platform::String ^ title, RandomAccessStreamReference ^ displayIcon, Color backgroundColor, ShareProviderHandler ^ handler);
 ShareProvider(winrt::hstring const& title, RandomAccessStreamReference const& displayIcon, Color const& backgroundColor, ShareProviderHandler const& handler);
public ShareProvider(string title, RandomAccessStreamReference displayIcon, Color backgroundColor, ShareProviderHandler handler);
function ShareProvider(title, displayIcon, backgroundColor, handler)
Public Sub New (title As String, displayIcon As RandomAccessStreamReference, backgroundColor As Color, handler As ShareProviderHandler)

パラメーター

title
String

Platform::String

winrt::hstring

共有プロバイダーのタイトル。

displayIcon
RandomAccessStreamReference

共有プロバイダーの表示アイコン。

backgroundColor
Color

共有プロバイダーの背景色。

handler
ShareProviderHandler

共有プロバイダーのハンドラー。

適用対象