 | PdfAttachmentCollectionItem Property (String) |
Namespace:
Patagames.Pdf.Net
Assemblies:
Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
Syntaxpublic PdfAttachment this[
string name
] { get; set; }
Public Default Property Item (
name As String
) As PdfAttachment
Get
Set
public:
property PdfAttachment^ default[String^ name] {
PdfAttachment^ get (String^ name);
void set (String^ name, PdfAttachment^ value);
}
member Item : PdfAttachment with get, set
/** @property */
public PdfAttachment get_Item(
String name
)
/** @property */
public void set_Item(PdfAttachment value)
function get_Item(name);
function set_Item(value);
Parameters
- name
- Type: SystemString
The name of an attachment.
Return Value
Type:
PdfAttachmentThe value associated with the
name parameter in the
PdfAttachmentCollection object, if name is found; otherwise, null.
ExceptionsException | Condition |
---|
ArgumentNullException | The name or value is null. |
ObjectDisposedException | The attachment has been disposed. |
UnexpectedTypeException | The object with the given name is not an attachment. |
See Also