ShareProvider
ShareProvider
ShareProvider
ShareProvider
Class
Definition
This class represents a custom provider which can be shared.
public : sealed class ShareProvider : IShareProviderpublic sealed class ShareProvider : IShareProviderPublic NotInheritable Class ShareProvider Implements IShareProvider// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Constructors
ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler)
Creates a new ShareProvider object.
public : ShareProvider(PlatForm::String title, RandomAccessStreamReference displayIcon, Color backgroundColor, ShareProviderHandler handler)public ShareProvider(String title, RandomAccessStreamReference displayIcon, Color backgroundColor, ShareProviderHandler handler)Public Sub New(title As String, displayIcon As RandomAccessStreamReference, backgroundColor As Color, handler As ShareProviderHandler)// You can use this method in JavaScript.
Parameters
- title
- PlatForm::String String String String
The title of the share provider.
- displayIcon
- RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference
The display icon of the share provider.
The handler of the share provider.
Properties
DisplayIcon DisplayIcon DisplayIcon DisplayIcon
Gets the display icon of the share provider.
public : RandomAccessStreamReference DisplayIcon { get; }public RandomAccessStreamReference DisplayIcon { get; }Public ReadOnly Property DisplayIcon As RandomAccessStreamReference// You can use this property in JavaScript.
- Value
- RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference
The display icon of the share provider.
Tag Tag Tag Tag
Gets or sets the tag of the share provider.
public : PlatForm::Object Tag { get; set; }public object Tag { get; set; }Public ReadWrite Property Tag As object// You can use this property in JavaScript.
- Value
- PlatForm::Object object object object
The tag of the share provider.