2.17.1 Add


Description

Syntax

VB: Function Add([ Name As ByVal Object ] ) As Folder
C++: Folder Add(_variant_t Name )
C#: Folder Add(var Name )

Parameters

Name
--

Return

Remark

Examples

VB

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

        app = New Origin.ApplicationSI
        fds = app.RootFolder.Folders
        fd = fds.Add("My New Folder") 'add new folder
    End Sub

Python

import OriginExt as O
app = O.Application()

fldActive = app.ActiveFolder
fldNew = fldActive.Folders.Add('NewFolder')

Version Information

8.0SR2

See Also