C# Class CustomMenus.AddShapefile

Inheritance: BaseCommand
Afficher le fichier Open project: Esri/arcobjects-sdk-community-samples

Méthodes publiques

Méthode Description
AddShapefile ( ) : System
AddShapefileUsingOpenFileDialog ( ESRI activeView ) : void

Add a shapefile to the ActiveView using the Windows.Forms.OpenFileDialog control.

OnClick ( ) : void

Occurs when this command is clicked

OnCreate ( object hook ) : void

Occurs when this command is created

Private Methods

Méthode Description
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

RegisterFunction ( Type registerType ) : void
UnregisterFunction ( Type registerType ) : void

Method Details

AddShapefile() public méthode

public AddShapefile ( ) : System
Résultat System

AddShapefileUsingOpenFileDialog() public méthode

Add a shapefile to the ActiveView using the Windows.Forms.OpenFileDialog control.
public AddShapefileUsingOpenFileDialog ( ESRI activeView ) : void
activeView ESRI An IActiveView interface
Résultat void

OnClick() public méthode

Occurs when this command is clicked
public OnClick ( ) : void
Résultat void

OnCreate() public méthode

Occurs when this command is created
public OnCreate ( object hook ) : void
hook object Instance of the application
Résultat void