Method WithView
WithView<TView>(IOutlookBarItemBuilder)
Sets the view of the Outlook bar item to the specified type.
public static IOutlookBarItemBuilder WithView<TView>(this IOutlookBarItemBuilder outlookBarItemBuilder) where TView : UserControl
Parameters
outlookBarItemBuilder
IOutlookBarItemBuilderThe Outlook bar item builder.
Returns
- IOutlookBarItemBuilder
The Outlook bar item builder.
Type Parameters
TView
The type of the view.