This document is archived and information here might be outdated.  Recommended version.


Create A Schematic Folder In A Schematic Folder Snippet (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference

Create A Schematic Folder In A Schematic Folder Snippet

Create a SchematicFolder in another schematic folder

[C#]
        /// <summary>
        /// Create a SchematicFolder in another schematic folder
        /// </summary>
        /// <param name="schemFolder">The ISchematicFolder where you want the new schematic folder to be created</param>
        /// <param name="FolderName">The name of the created schematic folder</param>
        /// <returns>The created ISchematicFolder</returns>
        public ESRI.ArcGIS.Schematic.ISchematicFolder CreateFolderFromFolder(ESRI.ArcGIS.Schematic.ISchematicFolder schemFolder, string FolderName)
        {
            return schemFolder.CreateSchematicFolder(FolderName);
        }
[Visual Basic .NET]
        ''' <summary>
        ''' Create a SchematicFolder in another schematic folder
        ''' </summary>
        ''' <param name="schemFolder">The ISchematicFolder where you want the new schematic folder to be created</param>
        ''' <param name="FolderName">The name of the created schematic folder</param>
        ''' <returns>The created ISchematicFolder</returns>
        Public Function CreateFolderFromFolder(ByVal schemFolder As ESRI.ArcGIS.Schematic.ISchematicFolder, ByVal FolderName As String) As ESRI.ArcGIS.Schematic.ISchematicFolder

                Return schemFolder.CreateSchematicFolder(FolderName)
        End Function

Additional Requirements
  • The code in this document requires the following References added to the Visual Studio project:
  • ESRI.ArcGIS.Schematic