C# Class InTheHand.ApplicationModel.DataTransfer.DataPackageView

A read-only version of a DataPackage. Apps that receive shared content get this object when acquiring content.
Afficher le fichier Open project: inthehand/Charming Class Usage Examples

Méthodes publiques

Méthode Description
Contains ( string formatId ) : bool

Checks to see if the DataPackageView contains a specific data format.

GetApplicationLinkAsync ( ) : Task

Gets the application link in the DataPackageView object.

GetDataAsync ( string formatId ) : Task

Gets the data contained in the DataPackageView.

GetTextAsync ( ) : Task

Gets the text in the DataPackageView object.

GetWebLinkAsync ( ) : Task

Gets the web link in the DataPackageView object.

Private Methods

Méthode Description
DataPackageView ( DataPackage package ) : System
GetUri ( string format ) : Uri

Method Details

Contains() public méthode

Checks to see if the DataPackageView contains a specific data format.
public Contains ( string formatId ) : bool
formatId string The name of the format.
Résultat bool

GetApplicationLinkAsync() public méthode

Gets the application link in the DataPackageView object.
public GetApplicationLinkAsync ( ) : Task
Résultat Task

GetDataAsync() public méthode

Gets the data contained in the DataPackageView.
public GetDataAsync ( string formatId ) : Task
formatId string The format of the data.
Résultat Task

GetTextAsync() public méthode

Gets the text in the DataPackageView object.
public GetTextAsync ( ) : Task
Résultat Task

GetWebLinkAsync() public méthode

Gets the web link in the DataPackageView object.
public GetWebLinkAsync ( ) : Task
Résultat Task