Metodo DataObjectSelector.GetSupportedRestrictions (String, array<Object[])
Recupera tutte le restrizioni supportate quando gli oggetti dati vengono selezionati per il tipo specificato.
Spazio dei nomi: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Sintassi
'Dichiarazione
Protected Overridable Function GetSupportedRestrictions ( _
typeName As String, _
parameters As Object() _
) As IList(Of String)
protected virtual IList<string> GetSupportedRestrictions(
string typeName,
Object[] parameters
)
protected:
virtual IList<String^>^ GetSupportedRestrictions(
String^ typeName,
array<Object^>^ parameters
)
abstract GetSupportedRestrictions :
typeName:string *
parameters:Object[] -> IList<string>
override GetSupportedRestrictions :
typeName:string *
parameters:Object[] -> IList<string>
protected function GetSupportedRestrictions(
typeName : String,
parameters : Object[]
) : IList<String>
Parametri
typeName
Tipo: StringIl nome del tipo di origine specifico di dati per il quale ottenere le restrizioni supportate.
parameters
Tipo: array<Object[]Una matrice contenente i parametri per il tipo specificato.
Valore restituito
Tipo: IList<String>
Un elenco delle restrizioni supportate quando recupera gli oggetti dati per il tipo specificato.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | Il parametro typeName è nullriferimento null (Nothing in Visual Basic). |
ArgumentException | Uno o più valori in parameters non sono validi. |
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.