Udostępnij za pośrednictwem


DataObjectSelector.GetRequiredRestrictions Method

Definition

Overloads

GetRequiredRestrictions(String)

Retrieves a list of the restrictions that are required when data objects are selected for the specified type.

GetRequiredRestrictions(String, Object[])

Retrieves a list of the restrictions that are required when data objects are selected for the specified type.

GetRequiredRestrictions(String)

Retrieves a list of the restrictions that are required when data objects are selected for the specified type.

public:
 virtual System::Collections::Generic::IList<System::String ^> ^ GetRequiredRestrictions(System::String ^ typeName);
public System.Collections.Generic.IList<string> GetRequiredRestrictions (string typeName);
abstract member GetRequiredRestrictions : string -> System.Collections.Generic.IList<string>
override this.GetRequiredRestrictions : string -> System.Collections.Generic.IList<string>
Public Function GetRequiredRestrictions (typeName As String) As IList(Of String)

Parameters

typeName
String

The data source–specific type name for which to get the required restrictions.

Returns

A list of the restrictions that are required when retrieving data objects for the current type.

Implements

Exceptions

The typeName parameter is null.

Applies to

GetRequiredRestrictions(String, Object[])

Retrieves a list of the restrictions that are required when data objects are selected for the specified type.

protected:
 virtual System::Collections::Generic::IList<System::String ^> ^ GetRequiredRestrictions(System::String ^ typeName, cli::array <System::Object ^> ^ parameters);
protected virtual System.Collections.Generic.IList<string> GetRequiredRestrictions (string typeName, object[] parameters);
abstract member GetRequiredRestrictions : string * obj[] -> System.Collections.Generic.IList<string>
override this.GetRequiredRestrictions : string * obj[] -> System.Collections.Generic.IList<string>
Protected Overridable Function GetRequiredRestrictions (typeName As String, parameters As Object()) As IList(Of String)

Parameters

typeName
String

The data source–specific type name for which to get the required restrictions.

parameters
Object[]

An array containing the parameters for the specified type.

Returns

A list of the restrictions that are required when retrieving data objects for the current type.

Exceptions

The typeName parameter is null.

One or more values in parameters are not valid.

Applies to