共用方式為


WorkflowViewState.SetViewStateManager(Object, ViewStateManager) 方法

定義

將一組 ViewStateManager 指定為物件的附加屬性。

public:
 static void SetViewStateManager(System::Object ^ instance, System::Activities::Presentation::ViewState::ViewStateManager ^ viewStateManager);
public static void SetViewStateManager (object instance, System.Activities.Presentation.ViewState.ViewStateManager viewStateManager);
static member SetViewStateManager : obj * System.Activities.Presentation.ViewState.ViewStateManager -> unit
Public Shared Sub SetViewStateManager (instance As Object, viewStateManager As ViewStateManager)

參數

instance
Object

執行個體物件,在其上附加 ViewStateManager 屬性。

viewStateManager
ViewStateManager

要附加的 ViewStateManager 物件。

適用於