get_attachment_key method

get_attachment_key

Returns unique identifier for the cache entry that represents attachment file.

Returns

Unique identifier for the cache entry that represents attachment file.

def get_attachment_key(self, attachment_id):
    ...
Parameter Type Description
attachment_id System.String Unique (in context of single file) identifier of the attachment.

Exceptions

Exception Description
ArgumentException Thrown when attachment_id is null or empty.

See Also