# NameObjectCollectionBase.BaseSet Method

.NET Framework 2.0
Sets the value of an entry in the NameObjectCollectionBase instance.

Name Description
NameObjectCollectionBase.BaseSet (Int32, Object) Sets the value of the entry at the specified index of the NameObjectCollectionBase instance.

Supported by the .NET Compact Framework.

NameObjectCollectionBase.BaseSet (String, Object) Sets the value of the first entry with the specified key in the NameObjectCollectionBase instance, if found; otherwise, adds an entry with the specified key and value into the NameObjectCollectionBase instance.

Supported by the .NET Compact Framework.