Click or drag to resize

PropertiesSetProperty Method

Adds a property with supplied name and value.

Namespace:  OBCOM.NetSwitchLib.Utils
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void SetProperty(
	string name,
	string value
)

Parameters

name
Type: SystemString
The name of the property to be added.
value
Type: SystemString
The value of the property (can be null).
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null or empty.
Remarks
If value is null, the property is removed from the collection.
See Also