Condividi tramite


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: String

    Il 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

Vedere anche

Riferimenti

DataObjectSelector Classe

Overload GetSupportedRestrictions

Spazio dei nomi Microsoft.VisualStudio.Data.Framework