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.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). |
.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.