Click or drag to resize
AttachmentInfoProviderGetAttachmentInfo Method (String, String)

Note: This API is now obsolete.

Returns the AttachmentInfo structure for the specified attachment.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IAttachmentInfoProvider.Get(System.Guid, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - AttachmentInfo.Provider.")]
public static AttachmentInfo GetAttachmentInfo(
	string attachmentGuid,
	string siteName
)

Parameters

attachmentGuid
Type: SystemString
Attachment GUID
siteName
Type: SystemString
Site name

Return Value

Type: AttachmentInfo
See Also