IVsDataObjectStore.GetSupportedRestrictions (Método)

Devuelve todas las restricciones que se admiten para seleccionar objetos del tipo especificado del almacén del objeto.

Espacio de nombres:  Microsoft.VisualStudio.Data.Services
Ensamblado:  Microsoft.VisualStudio.Data.Services (en Microsoft.VisualStudio.Data.Services.dll)

Sintaxis

'Declaración
Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
IList<string> GetSupportedRestrictions(
    string typeName
)
IList<String^>^ GetSupportedRestrictions(
    String^ typeName
)
abstract GetSupportedRestrictions : 
        typeName:string -> IList<string> 
function GetSupportedRestrictions(
    typeName : String
) : IList<String>

Parámetros

  • typeName
    Tipo: System.String
    El nombre origen- específico de los datos de tipo para el que recuperar las restricciones admitidas.

Valor devuelto

Tipo: System.Collections.Generic.IList<String>
Una lista de valores de cadena que representan las restricciones admitidas.

Excepciones

Excepción Condición
ArgumentNullException

El valor del parámetro typeName es nullreferencia null (Nothing en Visual Basic).

Comentarios

Las restricciones actúan como filtro para limitar el número de objetos devueltos del almacén del objeto.

Seguridad de .NET Framework

Vea también

Referencia

IVsDataObjectStore Interfaz

Microsoft.VisualStudio.Data.Services (Espacio de nombres)