AppointmentManagerForUser.ShowRemoveAppointmentAsync 메서드

정의

오버로드

ShowRemoveAppointmentAsync(String, Rect)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

ShowRemoveAppointmentAsync(String, Rect, Placement)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

ShowRemoveAppointmentAsync(String, Rect)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

public:
 virtual IAsyncOperation<bool> ^ ShowRemoveAppointmentAsync(Platform::String ^ appointmentId, Rect selection) = ShowRemoveAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ShowRemoveAppointmentAsync(winrt::hstring const& appointmentId, Rect const& selection);
[Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ShowRemoveAppointmentAsync(string appointmentId, Rect selection);
function showRemoveAppointmentAsync(appointmentId, selection)
Public Function ShowRemoveAppointmentAsync (appointmentId As String, selection As Rect) As IAsyncOperation(Of Boolean)

매개 변수

appointmentId
String

Platform::String

winrt::hstring

약속 식별자입니다. 이는 일반적으로 이전 ShowAddAppointmentAsync 호출의 비동기 반환 값에서 가져옵니다.

selection
Rect

사각형은 사용자 선택 영역(예: 단추 누르기)의 사각형 영역으로, 운영 체제에서 해당 사각형 영역이 아닌 약속 제거 UI를 표시합니다. 예를 들어 앱에서 단추를 사용하여 Rect를 표시하는 경우 단추의 Rect를 전달하여 약속 제거 UI가 단추 주위에 표시되도록 단추를 겹치지 않고 전달합니다.

반환

이 메서드가 완료되면 약속 공급자 앱이 약속을 제거했는지 여부를 나타내는 부울 값을 반환합니다.

특성

Windows 요구 사항

앱 기능
appointmentsSystem

설명

이 메서드를 호출하면 약속 공급자 앱이 앱에서 호스트하는 해제 창에 표시됩니다.

약속이 성공적으로 제거된 경우에도 이 메서드는 false를 반환할 수 있습니다.

추가 정보

적용 대상

ShowRemoveAppointmentAsync(String, Rect, Placement)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

public:
 virtual IAsyncOperation<bool> ^ ShowRemoveAppointmentAsync(Platform::String ^ appointmentId, Rect selection, Placement preferredPlacement) = ShowRemoveAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ShowRemoveAppointmentAsync(winrt::hstring const& appointmentId, Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ShowRemoveAppointmentAsync(string appointmentId, Rect selection, Placement preferredPlacement);
function showRemoveAppointmentAsync(appointmentId, selection, preferredPlacement)
Public Function ShowRemoveAppointmentAsync (appointmentId As String, selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of Boolean)

매개 변수

appointmentId
String

Platform::String

winrt::hstring

약속 식별자입니다. 이는 일반적으로 이전 ShowAddAppointmentAsync 호출의 비동기 반환 값에서 가져옵니다.

selection
Rect

사각형은 사용자 선택 영역(예: 단추 누르기)의 사각형 영역으로, 운영 체제에서 해당 사각형 영역이 아닌 약속 제거 UI를 표시합니다. 예를 들어 앱에서 단추를 사용하여 Rect를 표시하는 경우 단추의 Rect를 전달하여 약속 제거 UI가 단추 주위에 표시되도록 단추를 겹치지 않고 전달합니다.

preferredPlacement
Placement

약속 제거 UI의 기본 배치를 설명하는 배치 입니다.

반환

이 메서드가 완료되면 약속 공급자 앱이 약속을 제거했는지 여부를 나타내는 부울 값을 반환합니다.

특성

Windows 요구 사항

앱 기능
appointmentsSystem

설명

이 메서드를 호출하면 약속 공급자 앱이 앱에서 호스트하는 해제 창에 표시됩니다.

약속이 성공적으로 제거된 경우에도 이 메서드는 false를 반환할 수 있습니다.

추가 정보

적용 대상

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

약속 공급자 약속 제거 UI를 표시하여 사용자가 약속을 제거할 수 있도록 합니다.

public:
 virtual IAsyncOperation<bool> ^ ShowRemoveAppointmentAsync(Platform::String ^ appointmentId, Rect selection, Placement preferredPlacement, DateTime instanceStartDate) = ShowRemoveAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAndDateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ShowRemoveAppointmentAsync(winrt::hstring const& appointmentId, Rect const& selection, Placement const& preferredPlacement, DateTime const& instanceStartDate);
[Windows.Foundation.Metadata.Overload("ShowRemoveAppointmentWithPlacementAndDateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ShowRemoveAppointmentAsync(string appointmentId, Rect selection, Placement preferredPlacement, System.DateTimeOffset instanceStartDate);
function showRemoveAppointmentAsync(appointmentId, selection, preferredPlacement, instanceStartDate)
Public Function ShowRemoveAppointmentAsync (appointmentId As String, selection As Rect, preferredPlacement As Placement, instanceStartDate As DateTimeOffset) As IAsyncOperation(Of Boolean)

매개 변수

appointmentId
String

Platform::String

winrt::hstring

약속 식별자입니다. 이는 일반적으로 이전 ShowAddAppointmentAsync 호출의 비동기 반환 값에서 가져옵니다.

selection
Rect

사각형은 사용자 선택 영역(예: 단추 누르기)의 사각형 영역으로, 운영 체제에서 해당 사각형 영역이 아닌 약속 제거 UI를 표시합니다. 예를 들어 앱에서 단추를 사용하여 Rect를 표시하는 경우 단추의 Rect를 전달하여 약속 제거 UI가 단추 주위에 표시되도록 단추를 겹치지 않고 전달합니다.

preferredPlacement
Placement

약속 제거 UI의 기본 배치를 설명하는 배치 입니다.

instanceStartDate
DateTime DateTimeOffset

약속의 시작 날짜 및 시간은 제거할 instance.

반환

이 메서드가 완료되면 약속 공급자 앱이 약속을 제거했는지 여부를 나타내는 부울 값을 반환합니다.

특성

Windows 요구 사항

앱 기능
appointmentsSystem

설명

이 메서드를 호출하면 약속 공급자 앱이 앱에서 호스트하는 해제 창에 표시됩니다.

약속이 성공적으로 제거된 경우에도 이 메서드는 false를 반환할 수 있습니다.

추가 정보

적용 대상