Click or drag to resize

ExtensionsAddValue Method

Add the specified value to the collection of values of a multivalued attribute, or sets the value of a single-valued attribute

Namespace:  Lithnet.ResourceManagement.Client
Assembly:  Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntax
public static void AddValue(
	this ResourceObject resource,
	string attributeName,
	Object value
)

Parameters

resource
Type: Lithnet.ResourceManagement.ClientResourceObject
The resource to add the value to
attributeName
Type: SystemString
Name of the attribute
value
Type: SystemObject
The value to add

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ResourceObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also