Gets child folder ObjectId by name or path

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId GetFolder(
	string nameOrPath
)
Visual Basic
Public Function GetFolder ( _
	nameOrPath As String _
) As ObjectId
Visual C++
public:
ObjectId GetFolder(
	String^ nameOrPath
)

Parameters

nameOrPath
Type: System..::..String
Name of the direct child folder is supported; path using "\" as separator is also supported, for example: Folder\Folder1\Folder11

Remarks

Returns ObjectId::Null if the folder is not found

Exceptions

ExceptionCondition
System..::..ArgumentNullException Thrown when the nameOrPath is null

See Also