ComponentContentService.RetrieveContent Method

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

[This is preliminary documentation and is subject to change.]

Method for retrieving the content of an item from MultiArchive.

The URN used for the method should be constructed in one of the following ways:
urn:multiarchive:content:A42:25-1
urn:multiarchive:content:A42:25-1#5

The first URN will retrieve the content of ItemMaster 25, compound sequence 1 and implicit the latest version.
The second URN will retrieve the content from the same document as the first URN, but here it is explicit specified that it shall retrieve the fifth (5.) version of the document.

Namespace: MultiArchive.SDK.Services
Assembly: MultiArchive.SDK (in MultiArchive.SDK.dll) Version: 1.2.30.413 (1.2.30.413)

Syntax

C#
public base64Binary RetrieveContent(
	Credentials credentials,
	string contentUrn
)
Visual Basic
Public Function RetrieveContent ( 
	credentials As Credentials,
	contentUrn As String
) As base64Binary
Visual C++
public:
base64Binary^ RetrieveContent(
	Credentials^ credentials, 
	String^ contentUrn
)

Parameters

credentials
Type: Credentials
A Credentials object with information about the current user.
contentUrn
Type: System..::..String
A string representation of the content URN for the specified item.

Return Value

Type: base64Binary
The object returned by this method is a base64Binary object which contains the contents of the item retrieved.

Exceptions

Exception Condition
MultiArchive.SDK.Services.Exceptions..::..ComponentContentException Throws a ComponentContentException if any errors should occur during the SOAP communication with the MultiArchive webservice.

See Also