OpenDocumentCommand Class

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

An abstract command that allows for opening documents with their default application.


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

public abstract class OpenDocumentCommand : IOwnedCommand, 

The OpenDocumentCommand type exposes the following members.

Public methodCanExecute
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecute
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberOpenTextFile
Public methodStatic memberOpenUrl
Public methodStatic memberOpenWithDefaultApplicationOpens 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.
Public methodRaiseCanExecuteChanged
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventCanExecuteChanged

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.