영어로 읽기

다음을 통해 공유


DataSourceManager.ICollection<DataSource>.Clear Method

Clears the DDEX data source collection.

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

Syntax

void ICollection<DataSource>.Clear()

Implements

ICollection<T>.Clear()

Exceptions

Exception Condition
InvalidOperationException

Always thrown.

Remarks

Implements the Clear method.

참고

This method is read-only for clients and therefore throws an InvalidOperationException if used in client code. Rather, the implementation reads from the registry and populates the collection.

.NET Framework Security

See Also

Reference

DataSourceManager Class

Microsoft.VisualStudio.Data Namespace