다음을 통해 공유


IVsDataSourceInformation.Contains Method

When implemented by a class, retrieves a Boolean value indicating whether a specified property is contained in this data source information instance.

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

Syntax

‘선언
Function Contains ( _
    propertyName As String _
) As Boolean
bool Contains(
    string propertyName
)
bool Contains(
    String^ propertyName
)
abstract Contains : 
        propertyName:string -> bool 
function Contains(
    propertyName : String
) : boolean

Parameters

  • propertyName
    Type: System.String
    The name of the property being tested.

Return Value

Type: System.Boolean
true if the specified property is contained in this data source information instance; otherwise, false.

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

See Also

Reference

IVsDataSourceInformation Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace