This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Get The SchematicWorkspace Related To A Schematic Dataset Snippet (ArcObjects .NET 10.4 SDK) |
Retrieve the SchematicWorkspace related to a given SchematicDataset
/// <summary> /// Retrieve the SchematicWorkspace related to a given SchematicDataset /// </summary> /// <param name="schemDataset">The input SchematicDataset</param> /// <returns>The retrieved ESRI.ArcGIS.Schematic.ISchematicWorkspace</returns> public ESRI.ArcGIS.Schematic.ISchematicWorkspace GetWorkspace(ESRI.ArcGIS.Schematic.ISchematicDataset schemDataset) { return schemDataset.SchematicWorkspace; }
''' <summary> ''' Retrieve the SchematicWorkspace related to a given SchematicDataset ''' </summary> ''' <param name="schemDataset">The input SchematicDataset</param> ''' <returns>The retrieved ESRI.ArcGIS.Schematic.ISchematicWorkspace</returns> Public Function GetWorkspace(ByVal schemDataset As ESRI.ArcGIS.Schematic.ISchematicDataset) As ESRI.ArcGIS.Schematic.ISchematicWorkspace Return schemDataset.SchematicWorkspace End Function