Share via


ShareWindowCommandSource.GetForCurrentView Method

Definition

A static method that you can use to obtain an instance of a ShareWindowCommandSource.

Important

The ShareWindowCommandSource.GetForCurrentView API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public:
 static ShareWindowCommandSource ^ GetForCurrentView();
 static ShareWindowCommandSource GetForCurrentView();
public static ShareWindowCommandSource GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As ShareWindowCommandSource

Returns

A ShareWindowCommandSource for the current view. The current view must be such that it is capable of providing the brand icon, and the friendly name, of the client application.

Applies to

See also