Delen via


IVsDataObjectStore.CanSelectObjects Method

Indicates whether the specified type can be selected from the data object support XML stream.

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

Syntax

'Declaration
Function CanSelectObjects ( _
    typeName As String _
) As Boolean
bool CanSelectObjects(
    string typeName
)
bool CanSelectObjects(
    String^ typeName
)
abstract CanSelectObjects : 
        typeName:string -> bool
function CanSelectObjects(
    typeName : String
) : boolean

Parameters

  • typeName
    Type: System.String

    The name of the data source–specific type to examine.

Return Value

Type: System.Boolean
true if the type can be selected; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataObjectStore Interface

Microsoft.VisualStudio.Data.Services Namespace