Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
Protected Sub RemoveProperty ( _
name As String _
)
protected void RemoveProperty(
string name
)
protected:
void RemoveProperty(
String^ name
)
member RemoveProperty :
name:string -> unit
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 nulla 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.
.NET Framework Security
- 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