Windows.ApplicationModel.DataTransfer Namespace

소스 응용 프로그램과 대상 응용 프로그램 간에 데이터를 교환하는 데 사용하는 클래스를 포함합니다. 이러한 클래스는 공유 및 클립보드 작업에서 사용됩니다.


Windows.ApplicationModel.DataTransferNamespace에는 다음과 같은 형식의 멤버가 있습니다.


Windows.ApplicationModel.DataTransferNamespace에는 다음과 같은 클래스가 있습니다.

Clipboard Gets and sets information from the clipboard object.
DataPackage Contains the data that a user wants to exchange with another app.
DataPackagePropertySet Defines a set of properties to use with a DataPackage object.
DataPackagePropertySetView Gets the set of properties of a DataPackageView object.
DataPackageView A read-only version of a DataPackage. Apps that receive shared content get this object when acquiring content.
DataProviderDeferral Used by a source app's deferral delegate to notify a DataPackage object that the source app will produce data from another asynchronous function.
DataProviderRequest An object of this type is passed to the DataProviderHandler delegate.
DataRequest Lets your app supply the content the user wants to share or specify a message, if an error occurs.
DataRequestDeferral Enables you to exchange content with a target app asynchronously.
DataRequestedEventArgs Contains information about the DataRequested event. The system fires this event when the user invokes the Share UI.
DataTransferManager Programmatically initiates an exchange of content with other apps.
HtmlFormatHelper Responsible for formatting HTML content that you want to share or add to the Clipboard. Also allows you to get HTML fragments from the content.
OperationCompletedEventArgs Contains info about the action that a target app completed during a paste operation.
StandardDataFormats Contains static properties that return string values. Each string corresponds to a known format ID. Use this class to avoid errors in using string constants to specify data formats.
TargetApplicationChosenEventArgs Contains information about the target app the user chose to share content with. To get this object, you must handle the TargetApplicationChosen event.



Windows.ApplicationModel.DataTransferNamespace에는 다음과 같은 대리자가 있습니다.

DataProviderHandler Provides data when the target app requests it, instead of including the data in the DataPackage ahead of time. DataProviderHandler is used when the source app wants to avoid unnecessary work that is resource intensive, such as performing format conversions.



Windows.ApplicationModel.DataTransferNamespace에는 다음과 같은 열거형이 있습니다.

DataPackageOperation Specifies the operation the DataPackage stored in the Clipboard supports.


요구 사항

지원되는 최소 클라이언트

Windows 8

지원되는 최소 서버

Windows Server 2012

지원되는 최소 전화

Windows Phone 8


Windows::ApplicationModel::DataTransfer [C++]



참고 항목

빠른 시작: 콘텐츠 공유(C# 및 XAML을 사용하는 Windows 스토어 앱)
빠른 시작: 콘텐츠 공유(JavaScript 및 HTML을 사용하는 Windows 스토어 앱)
콘텐츠 대상 앱 공유 샘플



© 2014 Microsoft