Click or drag to resize

ResourceObject Methods

The ResourceObject type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHasValue
Gets a value indicating whether the specified attribute is present on the object and has value
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefresh
Refreshes the object from the Resource Management Service
Public methodSave()
Saves the changes to the Resource Management Service
Public methodSave(Boolean)
Saves the changes to the Resource Management Service
Public methodToString
Gets a string representation of this object
(Overrides Object.ToString().)
Public methodUndoChanges
Reverts the object back to its original state, undoing any pending attribute changes
Top
Extension Methods
  NameDescription
Public Extension MethodAddValue
Add the specified value to the collection of values of a multivalued attribute, or sets the value of a single-valued attribute
(Defined by Extensions.)
Public Extension MethodGetValueOrDefault(String)Overloaded.
Gets the value of the specified attribute or null if the attribute doesn't exist on the object
(Defined by Extensions.)
Public Extension MethodGetValueOrDefault(String, Object)Overloaded.
Gets the value of the specified attribute, or the specified default value if the attribute doesn't exist on the object or it's value is null
(Defined by Extensions.)
Public Extension MethodHasValue
Returns a value indicating whether the specified value is present on the specified attribute
(Defined by Extensions.)
Public Extension MethodRemoveValue
Removes a specific value from the specified attribute
(Defined by Extensions.)
Public Extension MethodSetValue
Sets the value of the specified attribute, overwriting any existing values present on the object
(Defined by Extensions.)
Top
See Also