DataConnectionProperties.RemoveProperty Method

Removes a natively recognized property from the current collection of properties.

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

Syntax

'宣言
Protected Sub RemoveProperty ( _
    name As String _
)
'使用
Dim name As String

Me.RemoveProperty(name)
protected void RemoveProperty(
    string name
)
protected:
void RemoveProperty(
    String^ name
)
protected function RemoveProperty(
    name : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The name parameter is a null reference (Nothing in Visual Basic).

Remarks

This method also removes all other references to the specified property from the synonyms, extended properties, and property descriptors collections.

This method is called by Remove.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data.Framework Namespace

AddProperty

AddProperty