ShareProviderHandler ShareProviderHandler ShareProviderHandler ShareProviderHandler ShareProviderHandler Delegate

Definition

A delegate that handles share providers.

public : delegate void ShareProviderHandler(ShareProviderOperation operation)
struct ShareProviderHandler : winrt::Windows::Foundation::IUnknown
{
   ShareProviderHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> ShareProviderHandler(L lambda);
   template <typename F> ShareProviderHandler(F* function);
   template <typename O, typename M> ShareProviderHandler(O* object, M method);
   void operator()(winrt::Windows::ApplicationModel::DataTransfer::ShareProviderOperation const& operation) const;
};
public delegate void ShareProviderHandler(ShareProviderOperation operation)
Public Delegate Sub ShareProviderHandler(operation As ShareProviderOperation)
var shareProviderHandler = function(operation) {

 /* Your code */

}

Parameters

operation
ShareProviderOperation ShareProviderOperation ShareProviderOperation

Windows.ApplicationModel.DataTransfer.ShareProviderHandler

Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)