View.Apply Méthode

Définition

Applique la vue à l’interface utilisateur de Microsoft Outlook.

public:
 void Apply();
public void Apply ();
Public Sub Apply ()

Remarques

Pour réinitialiser correctement l’affichage actuel, vous devez effectuer un Reset() , puis un View.Apply. L’exemple de code suivant illustre l’ordre des appels :

Sub ResetView()
    Dim v As Outlook.View
    ' Save a reference to the current view object
    v = Application.ActiveExplorer().CurrentView
    ' Reset and then apply the current view
    v.Reset()
    v.Apply()
End Sub
private void ResetView()
{
    // Save a reference to the current view object    
    Outlook.View v = Application.ActiveExplorer().CurrentView 
        as Outlook.View; 

    // Reset and then apply the current view
    v.Reset();
    v.Apply();
}

S’applique à