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


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

Create A SchematicFolder In A Schematic Dataset Snippet

Create a SchematicFolder in a given SchematicDataset

[C#]
        /// <summary>
        /// Create a SchematicFolder in a given SchematicDataset
        /// </summary>
        /// <param name="schemDataset">The SchematicDataset where the SchematicFolder is created</param>
        /// <param name="FolderName">The SchematicFolder name</param>
        /// <returns>The created ESRI.ArcGIS.Schematic.ISchematicFolder</returns>
        public ESRI.ArcGIS.Schematic.ISchematicFolder CreateFolderFromDataset(ESRI.ArcGIS.Schematic.ISchematicDataset schemDataset, string FolderName)
        {
                return schemDataset.CreateSchematicFolder(FolderName);
        }
[Visual Basic .NET]
        ''' <summary>
        ''' Create a SchematicFolder in a given SchematicDataset
        ''' </summary>
        ''' <param name="schemDataset">The SchematicDataset where the SchematicFolder is created</param>
        ''' <param name="FolderName">The SchematicFolder name</param>
        ''' <returns>The created ESRI.ArcGIS.Schematic.ISchematicFolder</returns>
        ''' 
        Public Function CreateFolderFromDataset(ByVal schemDataset As ESRI.ArcGIS.Schematic.ISchematicDataset, ByVal FolderName As String) As ESRI.ArcGIS.Schematic.ISchematicFolder

                Return schemDataset.CreateSchematicFolder(FolderName)
        End Function

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