OpenDocumentCommand.OpenWithDefaultApplication Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Opens the specified document or url using default application associated with that document type.

If no program is associated with the specified document type, this method will try to open the document by using the fallbackApplication.

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Sub OpenWithDefaultApplication ( _
    path As String, _
    fallbackApplication As String _
)
public static void OpenWithDefaultApplication(
    string path,
    string fallbackApplication
)
public:
static void OpenWithDefaultApplication(
    String^ path, 
    String^ fallbackApplication
)
static member OpenWithDefaultApplication : 
        path:string * 
        fallbackApplication:string -> unit
public static function OpenWithDefaultApplication(
    path : String, 
    fallbackApplication : String
)

Parameters

.NET Framework Security

See Also

Reference

OpenDocumentCommand Class

Microsoft.TeamFoundation.MVVM Namespace