Méthode | Description | |
---|---|---|
CanBypassStoreMethod ( ) : System.Boolean |
Indicates if updates to objects can bypass the Store method and OnChange notifications for efficiency.
|
|
Init ( IClassHelper classHelper, IPropertySet extensionProperties ) : void |
Initializes the extension.
|
|
OnChange ( IObject obj ) : void |
Fired when an object's attributes or geometry is updated.
|
|
OnCreate ( IObject obj ) : void |
Fired when a new object is created.
|
|
OnDelete ( IObject obj ) : void |
Fired when an object is deleted.
|
|
SetTimestampFields ( String createdField, String modifiedField, String userField ) : void |
Changes the member variables and extension properties to store the provided field names as the created, modified and user fields (positions are also refreshed). Empty strings indicate the values should not be saved in a field.
|
|
Shutdown ( ) : void |
Informs the extension that the class is being disposed of.
|
Méthode | Description | |
---|---|---|
GetCurrentUser ( ) : String |
Gets the name of the extension's user. For local geodatabases, this is the username as known by the operating system (in a domain\username format). For remote geodatabases, the IDatabaseConnectionInfo interface is utilized.
|
|
InitNewExtension ( ) : void |
This method should be called the first time the extension is initialized, when the extension properties are null. This will create a new set of properties with the default field names.
|
|
RegisterFunction ( |
||
SetFieldIndexes ( ) : void |
Finds the positions of the created, modified and user fields, and verifies that the specified field has the correct data type.
|
|
UnregisterFunction ( |
public CanBypassStoreMethod ( ) : System.Boolean | ||
Résultat | System.Boolean |
public Init ( IClassHelper classHelper, IPropertySet extensionProperties ) : void | ||
classHelper | IClassHelper | Provides a reference to the extension's class. |
extensionProperties | IPropertySet | A set of properties unique to the extension. |
Résultat | void |
public OnChange ( IObject obj ) : void | ||
obj | IObject | The updated object. |
Résultat | void |
public OnCreate ( IObject obj ) : void | ||
obj | IObject | The new object. |
Résultat | void |
public OnDelete ( IObject obj ) : void | ||
obj | IObject | The deleted object. |
Résultat | void |
public SetTimestampFields ( String createdField, String modifiedField, String userField ) : void | ||
createdField | String | The name of the "created" field. |
modifiedField | String | The name of the "modified" field. |
userField | String | The name of the "user" field. |
Résultat | void |