Adds a key-value pair to a dictionary unless the value is null.
Namespace: HotDocs.Sdk.CloudAssembly: HotDocs.Sdk.Cloud (in HotDocs.Sdk.Cloud.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- dict
- Type:
System.Collections.Generic Dictionary
String,
String
[Missing <param name="dict"/> documentation for "M:HotDocs.Sdk.Cloud.Extensions.AddIfNotNull(System.Collections.Generic.Dictionary{System.String,System.String},System.String,System.Object)"]
- key
- Type:
System String
[Missing <param name="key"/> documentation for "M:HotDocs.Sdk.Cloud.Extensions.AddIfNotNull(System.Collections.Generic.Dictionary{System.String,System.String},System.String,System.Object)"]
- value
- Type:
System Object
[Missing <param name="value"/> documentation for "M:HotDocs.Sdk.Cloud.Extensions.AddIfNotNull(System.Collections.Generic.Dictionary{System.String,System.String},System.String,System.Object)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type




See Also