MetadataItem

Represents one Metadata element is the set of meta data attached to a resource.

Meta-data is used to attach extra information to an object. Like custom form information on a person.

MetadataItem Properties

Item -> MetadataItem

Field Type Inherited from Description
Href String Item Gets or sets the href.
Application String MetadataItem Gets or sets the application.
ShouldPublishUpdateEvents Nullable<Boolean> MetadataItem Gets or sets if updates to this MetadataItem should publish Object Modified events.
Values String MetadataItem Gets or sets the values.

JSON Structure of MetadataItem

{
   "Href"	:	"String",
   "Application"	:	"String",
   "ShouldPublishUpdateEvents"	:	"Nullable\<Boolean\>",
   "Values"	:	"String"
}

Get Metadata Anonymous Type Async

Example in C#

// Returns: T
var item = await client.GetMetadataAnonymousTypeAsync<T>(BaseInfo baseInfo, String application, T annonymousTypeObject);

Get Metadata Async

Example in C#

// Returns: T
var item = await client.GetMetadataAsync<T>(BaseInfo baseInfo, String application);

Remove Metadata Async

Example in C#

// Returns: nothing
await client.RemoveMetadataAsync(BaseInfo baseInfo, String application);

Remove Metadata Async

Example in C#

// Returns: nothing
await client.RemoveMetadataAsync(String targetHref, String metaLink, String application);

Set Metadata Async

Example in C#

// Returns: nothing
await client.SetMetadataAsync(BaseInfo baseInfo, String application, Object values, Boolean publishUpdateEvents);

Set Metadata Async

Example in C#

// Returns: nothing
await client.SetMetadataAsync(String targetHref, String metaLink, String application, Object values, Boolean publishUpdateEvents);