CosPdfDictionary.Add

Add(string, ICosPdfPrimitive)

Ställ in ICosPdfPrimitive till ordbok.

public void Add(string key, ICosPdfPrimitive value)
ParameterTypBeskrivning
keySträngNyckel.
valueICosPdfPrimitiveVärde.

Undantag

undantagvillkor
ArgumentExceptionKasta undantag om nyckel/värde inte kan redigeras eller tas bort.

Se Även


Add(KeyValuePair<string, ICosPdfPrimitive>)

Ställ in ICosPdfPrimitive till ordbok.

public void Add(KeyValuePair<string, ICosPdfPrimitive> item)
ParameterTypBeskrivning
itemKeyValuePair`2Parets nyckel och värde.

Undantag

undantagvillkor
ArgumentExceptionKasta undantag om nyckel/värde inte kan redigeras eller tas bort.

Se Även