Share via


DataObjectRestrictionMapper.MapValuesToRestriction Method

Definition

Maps a set of generic restrictions to a data-source-specific restriction.

public:
 abstract System::Object ^ MapValuesToRestriction(System::String ^ conceptName, int index, cli::array <System::Object ^> ^ values);
public abstract object MapValuesToRestriction (string conceptName, int index, object[] values);
abstract member MapValuesToRestriction : string * int * obj[] -> obj
Public MustOverride Function MapValuesToRestriction (conceptName As String, index As Integer, values As Object()) As Object

Parameters

conceptName
String

Name of the type concept on which generic restrictions are being supplied.

index
Int32

Index of the data-source-specific restriction to which a mapping is made.

values
Object[]

The set of initial generic restriction values to use in this custom restriction mapping.

Returns

Returns the value of the requested source-specific restriction.

Exceptions

The conceptName and/or values parameters are null.

The index parameter is not a valid restriction index.

Applies to