XFINIUM.PDF Documentation
Item(PdfCosName) Property



Xfinium.Pdf.Core.Cos Namespace > PdfCosDictionary Class > Item Property : Item(PdfCosName) Property
The key of the value to get or set.
Gets or sets the value associated with the specified key.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal key As PdfCosName _
) As PdfCosObject
'Usage
 
Dim instance As PdfCosDictionary
Dim key As PdfCosName
Dim value As PdfCosObject
 
instance.Item(key) = value
 
value = instance.Item(key)
public PdfCosObject Item( 
   PdfCosName key
) {get; set;}
public:
property PdfCosObject^ Item {
   PdfCosObject^ get(PdfCosName^ key);
   void set (PdfCosName^ key, PdfCosObject^ value);
}

Parameters

key
The key of the value to get or set.

Property Value

The value associated with the specified key. If the specified key is not found, a get operation returns null, and a set operation creates a new element with the specified key.
Remarks
If the key already exists in the dictionary, the set operation overwrites it.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfCosDictionary Class
PdfCosDictionary Members
Overload List