Condividi tramite


AppointmentManagerForUser.ShowReplaceAppointmentAsync Metodo

Definizione

Overload

ShowReplaceAppointmentAsync(String, Appointment, Rect)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

ShowReplaceAppointmentAsync(String, Appointment, Rect)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

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

Parametri

appointmentId
String

Platform::String

winrt::hstring

Identificatore di appuntamento dell'appuntamento corrente. Viene in genere ottenuto dal valore restituito asincrono di una precedente chiamata ShowAddAppointmentAsync o ShowReplaceAppointmentAsync.

appointment
Appointment

Oggetto che rappresenta le informazioni relative all'appuntamento per sostituire l'appuntamento corrente.

selection
Rect

Rect è l'area rettangolare della selezione utente (ad esempio, premendo un pulsante), in cui il sistema operativo visualizza l'interfaccia utente Sostituisci appuntamento, non all'interno di tale area rettangolare. Ad esempio, se un'app usa un pulsante per visualizzare Rect, passare il rect del pulsante in modo che l'interfaccia utente sostituisci appuntamento venga visualizzata intorno al pulsante, non sovrapponendola.

Restituisce

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Al termine di questo metodo, restituisce un oggetto String che rappresenta l'appuntamento. Viene usato come identificatore di appuntamento per riferimento futuro durante l'aggiornamento o la rimozione. Se l'identificatore dell'appuntamento restituito è una stringa vuota, l'appuntamento non è stato sostituito nell'app provider Appointments.

Attributi

Requisiti Windows

Funzionalità dell'app
appointmentsSystem

Vedi anche

Si applica a

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

public:
 virtual IAsyncOperation<Platform::String ^> ^ ShowReplaceAppointmentAsync(Platform::String ^ appointmentId, Appointment ^ appointment, Rect selection, Placement preferredPlacement) = ShowReplaceAppointmentAsync;
/// [Windows.Foundation.Metadata.Overload("ShowReplaceAppointmentWithPlacementAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> ShowReplaceAppointmentAsync(winrt::hstring const& appointmentId, Appointment const& appointment, Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("ShowReplaceAppointmentWithPlacementAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> ShowReplaceAppointmentAsync(string appointmentId, Appointment appointment, Rect selection, Placement preferredPlacement);
function showReplaceAppointmentAsync(appointmentId, appointment, selection, preferredPlacement)
Public Function ShowReplaceAppointmentAsync (appointmentId As String, appointment As Appointment, selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of String)

Parametri

appointmentId
String

Platform::String

winrt::hstring

Identificatore di appuntamento dell'appuntamento corrente. Viene in genere ottenuto dal valore restituito asincrono di una precedente chiamata ShowAddAppointmentAsync o ShowReplaceAppointmentAsync .

appointment
Appointment

Oggetto che rappresenta le informazioni relative all'appuntamento per sostituire l'appuntamento corrente.

selection
Rect

Rect è l'area rettangolare della selezione utente (ad esempio, premendo un pulsante), in cui il sistema operativo visualizza l'interfaccia utente Sostituisci appuntamento, non all'interno di tale area rettangolare. Ad esempio, se un'app usa un pulsante per visualizzare Rect, passare il rect del pulsante in modo che l'interfaccia utente sostituisci appuntamento venga visualizzata intorno al pulsante, non sovrapponendola.

preferredPlacement
Placement

Posizione che descrive il posizionamento preferito dell'interfaccia utente Sostituisci appuntamento.

Restituisce

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Al termine di questo metodo, restituisce un oggetto String che rappresenta l'appuntamento. Viene usato come identificatore di appuntamento per riferimento futuro durante l'aggiornamento o la rimozione. Se l'identificatore dell'appuntamento restituito è una stringa vuota, l'appuntamento non è stato sostituito nell'app provider Appointments.

Attributi

Requisiti Windows

Funzionalità dell'app
appointmentsSystem

Vedi anche

Si applica a

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

Mostra l'interfaccia utente Sostituisci appuntamento per consentire all'utente di sostituire un appuntamento.

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

Parametri

appointmentId
String

Platform::String

winrt::hstring

Identificatore di appuntamento dell'appuntamento corrente. Viene in genere ottenuto dal valore restituito asincrono di una precedente chiamata ShowAddAppointmentAsync o ShowReplaceAppointmentAsync .

appointment
Appointment

Oggetto che rappresenta le informazioni relative all'appuntamento per sostituire l'appuntamento corrente.

selection
Rect

Rect è l'area rettangolare della selezione utente (ad esempio, premendo un pulsante), in cui il sistema operativo visualizza l'interfaccia utente Sostituisci appuntamento, non all'interno di tale area rettangolare. Ad esempio, se un'app usa un pulsante per visualizzare Rect, passare il rect del pulsante in modo che l'interfaccia utente sostituisci appuntamento venga visualizzata intorno al pulsante, non sovrapponendola.

preferredPlacement
Placement

Posizione che descrive il posizionamento preferito dell'interfaccia utente Sostituisci appuntamento.

instanceStartDate
DateTime DateTimeOffset

Data e ora di inizio dell'istanza dell'appuntamento da sostituire.

Restituisce

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Al termine di questo metodo, restituisce un oggetto String che rappresenta l'appuntamento. Viene usato come identificatore di appuntamento per riferimento futuro durante l'aggiornamento o la rimozione. Se l'identificatore dell'appuntamento restituito è una stringa vuota, l'appuntamento non è stato sostituito nell'app provider Appointments.

Attributi

Requisiti Windows

Funzionalità dell'app
appointmentsSystem

Vedi anche

Si applica a