EditorFactory.ShouldOpenDocument Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the specified document is a test and therefore should be opened.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'Declaration
Protected Overridable Function ShouldOpenDocument ( _
path As String _
) As Boolean
protected virtual bool ShouldOpenDocument(
string path
)
protected:
virtual bool ShouldOpenDocument(
String^ path
)
abstract ShouldOpenDocument :
path:string -> bool
override ShouldOpenDocument :
path:string -> bool
protected function ShouldOpenDocument(
path : String
) : boolean
Parameters
path
Type: System.StringThe path and file name of a file.
Return Value
Type: System.Boolean
true if the file is a test file; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.