CADability dotNET
The UserData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UserData()()()() | ||
UserData(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
Add(UserData) |
Add all entries given in the parameter to this UserData
| |
Add(String, Object) |
Adds or replaces the named entry of the Userdata
| |
Clear | ||
Clone |
Returns a clone of the UserData object. The containe dictionary of string-object pairs is cloned so the result is
independant from this object. The values are also cloned if they implement the ICloneable interface.
If the value of an entry implements IManageUserData, Clone()()()() will be called.
| |
Contains | ||
ContainsData |
Checks whether an entry with the provided name exists.
| |
GetData |
Returns the entry with the provided name. The result may be null if the entry doesn't exist.
The result must be casted to the required type.
| |
GetEnumerator | ||
GetObjectData | ||
Remove | ||
RemoveUserData |
Removes the entry with the provided name
|
Properties
Name | Description | |
---|---|---|
AllItems |
Gets an array of the names of all entries
| |
Count | ||
IsFixedSize | ||
Item |
Indexer to read or write values to a given name
| |
Keys | ||
Values |
Events
Name | Description | |
---|---|---|
UserDataAddedEvent | ||
UserDataRemovedEvent |