This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Get All The SchematicInMemoryDiagram Related To A Schematic Dataset Snippet (ArcObjects .NET 10.4 SDK) |
Retrieve all the in-memory schematic diagrams related to a given SchematicDataset.
/// <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; }
''' <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