Export (0) Print
Expand All

INameObjectCollection Interface

Defines a collection of associated string keys and object values that can be accessed either with the key or with an index.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

public interface INameObjectCollection : ICollection, 
	IEnumerable

The INameObjectCollection type exposes the following members.

  NameDescription
Public propertyCount (Inherited from ICollection.)
Public propertyIsSynchronized (Inherited from ICollection.)
Public propertySyncRoot (Inherited from ICollection.)
Top

  NameDescription
Public methodAddAdds an entry with the specified key and value into the collection.
Public methodCopyTo (Inherited from ICollection.)
Public methodGet(Int32)Retrieves the value of the specified entry from the instance.
Public methodGet(String)Retrieves the value of the first entry with the specified key from the instance.
Public methodGetEnumerator (Inherited from IEnumerable.)
Public methodRemoveRemoves the entries with the specified key from the instance.
Public methodRemoveAtRemoves the entry at the specified index of the instance.
Public methodSet(Int32, Object)Sets the value of the entry at the specified index of the instance.
Public methodSet(String, Object)Sets the value of the first entry with the specified key in the instance, if found; otherwise, adds an entry with the specified key and value into the NameObjectCollection instance.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft