By browsing on this website you are agreeing to our 'Terms & Conditions' and the 'Privacy Policy' in regards to your rights and personal data handling.
This operation is used to get an attachment from a document.
Syntax
public GetAttachmentOperation(string documentId, string name, AttachmentType type, string changeVector)
public class AttachmentResult
{
public Stream Stream;
public AttachmentDetails Details;
}
public class AttachmentDetails : AttachmentName
{
public string ChangeVector;
public string DocumentId;
}
public class AttachmentName
{
public string Name;
public string Hash;
public string ContentType;
public long Size;
}
Parameters
documentId
string
ID of a document which will contain an attachment
name
name
Name of an attachment
type
AttachmentType
Document or Revision
changeVector
string
Entity changeVector, used for concurrency checks (null to skip check)