public T GetDefinition<T>( string name ) where T: Definition
Public Function GetDefinition(Of T As Definition)( _ ByVal name As String _ ) As T
Parameters
- name
- The name of the dataset.
Type Parameters
- T
- The type of dataset definition.
public T GetDefinition<T>( string name ) where T: Definition
Public Function GetDefinition(Of T As Definition)( _ ByVal name As String _ ) As T
Exception | Description |
---|---|
System.InvalidOperationException | No valid data store has been opened prior to calling this operation. -or- The DatasetType corresponding to type T is not supported. |
System.ArgumentException | name is null or an empty string. |
ArcGIS.Core.Data.Exceptions.GeodatabaseCatalogDatasetException | name does not exist or cannot be opened in the data store. |
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
Target Platforms: Windows 11, Windows 10