NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDictionaryService.SetValue

Sets the given key-value pair in an object's site.

[Visual Basic]
Sub SetValue( _
   ByVal key As Object, _
   ByVal value As Object _
)
[C#]
void SetValue(
   object key,
   object value
);
[C++]
void SetValue(
   Object* key,
   Object* value
) = 0;
[JScript]
function SetValue(
   key : Object,
   value : Object
);

Parameters

key
An object that will be used as the key to associate value with.
value
The value to store.

Remarks

The key-value pair is stored on a per-object basis, and is a good place to save additional information about a component.

See Also

IDictionaryService Interface | IDictionaryService Members | System.ComponentModel.Design Namespace