| RestClientBasePatchTPatch Method (String, String, String, TPatch) |
Patches the specified resource at url with patch when ifMatch is true
Namespace:
SanteDB.Core.Http
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public string Patch<TPatch>(
string url,
string contentType,
string ifMatch,
TPatch patch
)
Public Function Patch(Of TPatch) (
url As String,
contentType As String,
ifMatch As String,
patch As TPatch
) As String
public:
generic<typename TPatch>
virtual String^ Patch(
String^ url,
String^ contentType,
String^ ifMatch,
TPatch patch
) sealed
abstract Patch :
url : string *
contentType : string *
ifMatch : string *
patch : 'TPatch -> string
override Patch :
url : string *
contentType : string *
ifMatch : string *
patch : 'TPatch -> string
Parameters
- url
- Type: SystemString
The resource URL to patch - contentType
- Type: SystemString
The content/type of the patch (dictates serialization) - ifMatch
- Type: SystemString
Identifies the If-Match header - patch
- Type: TPatch
The patch contents
Type Parameters
- TPatch
[Missing <typeparam name="TPatch"/> documentation for "M:SanteDB.Core.Http.RestClientBase.Patch``1(System.String,System.String,System.String,``0)"]
Return Value
Type:
StringThe new ETAG of the patched resource
Implements
IRestClientPatchTPatch(String, String, String, TPatch)See Also