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
outlookBarItemBuilderIOutlookBarItemBuilderThe Outlook bar item builder.
Returns
- IOutlookBarItemBuilder
The Outlook bar item builder.
Type Parameters
TViewThe type of the view.