Share via


IActivitySettingsPart.SwitchMode Method

Sets the UI to edit or view mode.

Namespace: Microsoft.IdentityManagement.WebUI.Controls
Assembly: Microsoft.IdentityManagement.WFExtensionInterfaces (in microsoft.identitymanagement.wfextensioninterfaces.dll)

Usage

'Usage
Dim instance As IActivitySettingsPart
Dim mode As ActivitySettingsPartMode

instance.SwitchMode(mode)

Syntax

'Declaration
Sub SwitchMode ( _
    mode As ActivitySettingsPartMode _
)
void SwitchMode (
    ActivitySettingsPartMode mode
)
void SwitchMode (
    ActivitySettingsPartMode mode
)
void SwitchMode (
    ActivitySettingsPartMode mode
)
function SwitchMode (
    mode : ActivitySettingsPartMode
)

Parameters

  • mode
    Represents view mode or edit mode.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Windows 2008 x64 Edition

See Also

Reference

IActivitySettingsPart Interface
IActivitySettingsPart Members
Microsoft.IdentityManagement.WebUI.Controls Namespace
ActivitySettingsPart.SwitchMode Method