Partilhar via


ShareProvider Construtor

Definição

Cria um novo objeto 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)

Parâmetros

title
String

Platform::String

winrt::hstring

O título do provedor de compartilhamento.

displayIcon
RandomAccessStreamReference

O ícone de exibição do provedor de compartilhamento.

backgroundColor
Color

A cor da tela de fundo do provedor de compartilhamento.

handler
ShareProviderHandler

O manipulador do provedor de compartilhamento.

Aplica-se a