C# 클래스 InTheHand.ApplicationModel.DataTransfer.DataPackageView

A read-only version of a DataPackage. Apps that receive shared content get this object when acquiring content.
파일 보기 프로젝트 열기: inthehand/Charming 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
DataPackageView ( DataPackage package ) : System
GetUri ( string format ) : Uri

메소드 상세

Contains() 공개 메소드

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

GetApplicationLinkAsync() 공개 메소드

Gets the application link in the DataPackageView object.
public GetApplicationLinkAsync ( ) : Task
리턴 Task

GetDataAsync() 공개 메소드

Gets the data contained in the DataPackageView.
public GetDataAsync ( string formatId ) : Task
formatId string The format of the data.
리턴 Task

GetTextAsync() 공개 메소드

Gets the text in the DataPackageView object.
public GetTextAsync ( ) : Task
리턴 Task

GetWebLinkAsync() 공개 메소드

Gets the web link in the DataPackageView object.
public GetWebLinkAsync ( ) : Task
리턴 Task