DataObjectRestrictionMapper.MapValuesToRestriction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.