Click or drag to resize

ExtensionsSetValue Method

Sets the value of the specified attribute, overwriting any existing values present on the object

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

Parameters

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

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