Metodo DataObjectSelector.GetSupportedRestrictions (String)
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
Public Function GetSupportedRestrictions ( _
typeName As String _
) As IList(Of String)
public IList<string> GetSupportedRestrictions(
string typeName
)
public:
virtual IList<String^>^ GetSupportedRestrictions(
String^ typeName
) sealed
abstract GetSupportedRestrictions :
typeName:string -> IList<string>
override GetSupportedRestrictions :
typeName:string -> IList<string>
public final function GetSupportedRestrictions(
typeName : String
) : IList<String>
Parametri
typeName
Tipo: StringIl nome del tipo di origine specifico di dati per il quale ottenere le restrizioni supportate.
Valore restituito
Tipo: IList<String>
Un elenco delle restrizioni supportate quando recupera gli oggetti dati per il tipo specificato.
Implementa
IVsDataObjectSelector.GetSupportedRestrictions(String)
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | Il parametro typeName è nullriferimento null (Nothing in Visual Basic). |
Note
Questo metodo delega la chiamata al metodo GetSupportedRestrictions e le sessioni null per il secondo parametro.
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.