ShareWindowCommandSource.GetForCurrentView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.