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.

System.Object
  Microsoft.TeamFoundation.MVVM.OpenDocumentCommand
    Microsoft.TeamFoundation.MVVM.OpenUrlCommand

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

public abstract class OpenDocumentCommand : IOwnedCommand, 
	ICommand

The OpenDocumentCommand type exposes the following members.

  NameDescription
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.)
Top

  NameDescription
Public eventCanExecuteChanged
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft