내보내기(0) 인쇄
모두 확장
EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

FileOpenPicker.PickSingleFileAsync(String) method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Shows the file picker so that the user can pick one file.

Syntax


public:
IAsyncOperation<StorageFile>^ PickSingleFileAsync(
  String^ pickerOperationId
)

Parameters

pickerOperationId

Type: String

This argument is ignored and has no effect.

Return value

Type: IAsyncOperation<StorageFile>

When the call to this method completes successfully, it returns a StorageFile object that represents the file that the user picked.

Remarks

Note  Windows Store apps only. This signature isn't supported. Use PickSingleFileAsync instead.

Note  Windows Phone Store apps only. This signature isn't supported. Use PickSingleFileAndContinue instead.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows::Storage::Pickers

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

Windows::Storage::Pickers

Metadata

Windows.WinMD

See also

FileOpenPicker
PickSingleFileAsync

 

 

표시:
© 2015 Microsoft