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
name
Type: System.StringThe name of a property to be removed.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionProperties Class
DataConnectionProperties Members