IUpdatable Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interface used to insert or update a resource by the HTTP POST method.
public interface class IUpdatable
public interface IUpdatable
type IUpdatable = interface
Public Interface IUpdatable
- Derived
The IUpdatable interface is resource independent. The methods that return objects representing resources can return anything.
The returned object is an opaque object that represents the resource. To use the reference to read or update a value, the same opaque object is passed back to IUpdatable.
Implementation of IUpdatable must track the mapping between this opaque object to the object it represents. When the resource is serialized and a common language runtime (CLR) instance of the correct type is needed, the ResolveResource method on IUpdatable is called with the opaque object.
To serialize the object, call the ResolveResource method on IUpdatable.
Add |
Adds the specified value to the collection. |
Clear |
Cancels a change to the data. |
Create |
Creates the resource of the specified type and that belongs to the specified container. |
Delete |
Deletes the specified resource. |
Get |
Gets the resource of the specified type identified by a query and type name. |
Get |
Gets the value of the specified property on the target object. |
Remove |
Removes the specified value from the collection. |
Reset |
Resets the resource identified by the parameter |
Resolve |
Returns the instance of the resource represented by the specified resource object. |
Save |
Saves all the changes that have been made by using the IUpdatable APIs. |
Set |
Sets the value of the specified reference property on the target object. |
Set |
Sets the value of the property with the specified name on the target resource to the specified property value. |
Produs | Versiuni |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback pentru .NET
.NET este un proiect open source. Selectați un link pentru a oferi feedback: