Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves a Boolean value indicating whether a specified property is contained in this data source information instance.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable Function Contains ( _
propertyName As String _
) As Boolean
public virtual bool Contains(
string propertyName
)
public:
virtual bool Contains(
String^ propertyName
)
abstract Contains :
propertyName:string -> bool
override Contains :
propertyName:string -> bool
public function Contains(
propertyName : String
) : boolean
Parameters
- propertyName
Type: System.String
The name of the property being tested.
Return Value
Type: System.Boolean
Returns true if the specified property is contained in this data source information instance; otherwise returns false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The propertyName parameter is null. |
Remarks
It is recommended that clients call this method before actually retrieving a value, as this may save retrieval of a value until it is actually needed.
.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.