This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
TablesCollectionEditor Methods
The methods of the TablesCollectionEditor class are listed below. For a complete list of TablesCollectionEditor class members, see the TablesCollectionEditor Members topic.
Public:
EditValue |
Overloaded. [To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEditStyle (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPaintValueSupported (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
GetType (inherited from Object) |
Gets the Type of the Object. |
PaintValue (inherited from UITypeEditor) |
Overloaded. [To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
CanRemoveInstance |
Here we check to see if it is OK to remove this instance from the collection. |
CreateCollectionForm (inherited from CollectionEditor) |
Creates a new form to show the current collection. You may inherit from CollectionForm to provide your own form. |
CreateCollectionItemType (inherited from CollectionEditor) |
Retrieves the data type this collection contains. The default implementation looks inside of the collection for the Item property and returns the returning datatype of the item. Do not call this method directly. Instead, use the CollectionItemType property. Use this method to override the default implementation. |
CreateInstance |
We add new instance of DataColumn to parentCollection, so new instance has valid parent property, and valid names. |
CreateNewItemTypes (inherited from CollectionEditor) |
Retrieves the data types this collection editor can create. The default implementation looks inside of the collection for the Item property and returns the returning datatype of the item. Do not call this method directly. Instead, use the NewItemTypes property. Use this method to override the default implementation. |
DestroyInstance |
We have to remove inctances that were created by CreateNewInctance this called in case Cancel button was hit. |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
GetItems (inherited from CollectionEditor) |
Converts the given collection into an array of objects. This is used by the editing dialog to manipulate the individual collection. |
GetServiceObject (inherited from CollectionEditor) |
Retrieves the requested service, if it is available. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
SetItems (inherited from CollectionEditor) |
Sets the given collection to have the given array of items. If setting requires that a new object be created, the new object should be returned. Otherwise, editValue should be returned. |
See Also
TablesCollectionEditor Class | System.Data.Design Namespace