Returns a copy of the fetch request template with the variables substituted by values from the substitutions dictionary.
Original signature is '- (NSFetchRequest *)fetchRequestFromTemplateWithName:(NSString *)name substitutionVariables:(NSDictionary *)variables'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSFetchRequest FetchRequestFromTemplateWithNameSubstitutionVariables( NSString name, NSDictionary variables )
Public Overridable Function FetchRequestFromTemplateWithNameSubstitutionVariables ( _ name As NSString, _ variables As NSDictionary _ ) As NSFetchRequest
public: virtual NSFetchRequest^ FetchRequestFromTemplateWithNameSubstitutionVariables( NSString^ name, NSDictionary^ variables )
Parameters
- name (NSString)
- A string containing the name of a fetch request template.
- variables (NSDictionary)
- A dictionary containing key-value pairs where the keys are the names of variables specified in the template; the corresponding values are substituted before the fetch request is returned. The dictionary must provide values for all the variables in the template.
Return Value
A copy of the fetch request template with the variables substituted by values from variables.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)