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


Get All The SchematicInMemoryDiagram Related To A Schematic Dataset Snippet (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference

Get All The SchematicInMemoryDiagram Related To A Schematic Dataset Snippet

Retrieve all the in-memory schematic diagrams related to a given SchematicDataset.

[C#]
        /// <summary>
        /// Retrieve all the in-memory schematic diagrams related to a given SchematicDataset
        /// </summary>
        /// <param name="schemDataset">The input SchematicDataset</param>
        /// <returns>ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryDiagram</returns>
        public ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryDiagram GetAllInMemoryDiagrams(ESRI.ArcGIS.Schematic.ISchematicDataset schemDataset)
        {
        return schemDataset.SchematicInMemoryDiagrams;
        }
[Visual Basic .NET]
        ''' <summary>
        ''' Retrieve all the in-memory schematic diagrams related to a given SchematicDataset
        ''' </summary>
        ''' <param name="schemDataset">The input SchematicDataset</param>
        ''' <returns>ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryDiagram</returns>
        Public Function GetAllInMemoryDiagrams(ByVal schemDataset As ESRI.ArcGIS.Schematic.ISchematicDataset) As ESRI.ArcGIS.Schematic.IEnumSchematicInMemoryDiagram

                Return schemDataset.SchematicInMemoryDiagrams
        End Function

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