| ContentFileEditorCollectionLaunchEditorFor Method |
Search the list of content file editors and launch the appropriate
one for the specified file.
Namespace: SandcastleBuilder.Utils.DesignAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public bool LaunchEditorFor(
string filename,
string projectFile
)
Public Function LaunchEditorFor (
filename As String,
projectFile As String
) As Boolean
public:
bool LaunchEditorFor(
String^ filename,
String^ projectFile
)
member LaunchEditorFor :
filename : string *
projectFile : string -> bool
Parameters
- filename
- Type: SystemString
The filename to edit - projectFile
- Type: SystemString
The fully qualified name of the current
project file.
Return Value
Type:
BooleanTrue if successful, false if not.
LastError
can be used to obtain details if it does fail.
Remarks If an editor is not defined, an attempt is made to launch
the file using the OS shell with the Edit verb.
See Also