Поделиться через


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

Обработчик поставщика общих данных.

Применяется к