View.Apply 方法

定义

适用于Microsoft Outlook用户界面视图。

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

注解

若要正确重置当前视图,必须执行 , Reset() 然后执行 View.Apply。 下面的代码示例演示如何调用的顺序:

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();
}

适用于