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
Function CanSelectObjects ( _
typeName As String _
) As Boolean
Dim instance As IVsDataObjectStore
Dim typeName As String
Dim returnValue As Boolean
returnValue = instance.CanSelectObjects(typeName)
bool CanSelectObjects(
string typeName
)
bool CanSelectObjects(
String^ typeName
)
function CanSelectObjects(
typeName : String
) : boolean
Parameters
typeName
Type: System.StringThe 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). |
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.