Dela via


ShareProvider Constructor

Definition

Creates a new ShareProvider object.

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)

Parameters

title
String

Platform::String

winrt::hstring

The title of the share provider.

displayIcon
RandomAccessStreamReference

The display icon of the share provider.

backgroundColor
Color

The background color of the share provider.

handler
ShareProviderHandler

The handler of the share provider.

Applies to