Click or drag to resize
FieldDefinitions Methods

The FieldDefinitions type exposes the following members.

Methods
  NameDescription
Public methodAdd(Field)
Adds a new field to the list. Throws an error if the field already exists or if no additions are allowed.
Public methodAdd(String, FieldValueType)
Creates a new field declaration with the specified name and type and adds it to the list.
Public methodClear
Remove all the fields currently associated with this definition.
Public methodContains
Determines whether a named field exists in the collection. Field names are case-insensitive.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists(String)
Retrieves a value indicating whether a field with the specified name exists.
Public methodExists(Field)
Retrieves a value indicating whether the specified field exists in the collection. Only the name, not the data type, is checked.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator which can be used to iterate through the field list.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup(Guid)
Retrieves a field by its GUID.
Public methodLookup(String)
Retrieves the field declaration with the specified name. Field names are case-insensitive.
Public methodLookupIField(Guid)
Returns the field with the specified GUID, or null if there is no field with that GUID.
Public methodLookupIField(String)
Returns the field with the specified name, or null if there is no field with that name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(String)
Removes the field with the provided name, if one exists.
Public methodRemove(Field)
Removes the field with the same name as the provided field, if one exists.
Public methodToList
Generates and returns a deep copy of the field declarations.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments