Share via


TaskbarManager.RequestPinAppListEntryAsync(AppListEntry) 메서드

정의

지정된 애플리케이션을 작업 표시줄에 고정하도록 요청합니다.

public:
 virtual IAsyncOperation<bool> ^ RequestPinAppListEntryAsync(AppListEntry ^ appListEntry) = RequestPinAppListEntryAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestPinAppListEntryAsync(AppListEntry const& appListEntry);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestPinAppListEntryAsync(AppListEntry appListEntry);
function requestPinAppListEntryAsync(appListEntry)
Public Function RequestPinAppListEntryAsync (appListEntry As AppListEntry) As IAsyncOperation(Of Boolean)

매개 변수

appListEntry
AppListEntry

작업 표시줄에 고정할 애플리케이션에 해당하는 AppListEntry 입니다.

반환

애플리케이션이 takbar에 성공적으로 고정되었는지 여부를 나타내는 부울입니다. 앱이 이미 고정된 경우 즉시 true가 반환됩니다.

특성

설명

이 메서드를 호출하면 사용자에게 앱을 고정할 것인지 확인하는 대화 상자가 표시됩니다. 사용자가 "아니요"를 선택하면 이 메서드는 false를 반환합니다.

적용 대상