CalendarAutomationPeer.IMultipleViewProvider.SetCurrentView Method (Int32)

 

Sets the current control-specific view.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

void IMultipleViewProvider.SetCurrentView(
	int viewId
)

Parameters

viewId
Type: System.Int32

A view identifier.

Exception Condition
ArgumentException

viewId is not a member of the supported views collection.

This member is an explicit interface member implementation. It can be used only when the CalendarAutomationPeer instance is cast to an IMultipleViewProvider interface.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: