2.17.4 FolderFromPath


Description

Syntax

VB: Function FolderFromPath(Path As ByVal String ) As Folder
C++: Folder FolderFromPath(LPCSTR Path )
C#: Folder FolderFromPath(string Path )

Parameters

path
--

Remark

Examples

VB

    Sub Folders_FolderFromPath()
        Dim app As Origin.IOApplication
        Dim fds As Origin.Folders
        Dim fd As Origin.Folder

        app = New Origin.ApplicationSI
        fds = app.RootFolder.Folders
        fds.Add("My New Folder")
        fd = fds.FolderFromPath("My New Folder")
        MsgBox(fd.Name.ToString())
    End Sub

Version Information

8.0SR2

See Also