Share via


EditorFactory.ShouldOpenDocument Method

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

Return Value

Type: System.Boolean
true if the file is a test file; otherwise, false.

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.TestTools.Vsip Namespace