DataConnectionProperties.GetEnumerator Method

Retrieves an enumerator that enumerates over all the known connection properties and their values, if any.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Public Overridable Function GetEnumerator As IEnumerator
'使用
Dim instance As DataConnectionProperties
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator()
public function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator

Returns a data connection properties enumerator.

Remarks

Each element in the enumerator is a DictionaryEntry pair, where the Key is a property name and the Value is the property value, or Value when the property is not set and has no default.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data Namespace