Associates the specified fetch request with the receiver using the given name.
Original signature is '- (void)setFetchRequestTemplate:(NSFetchRequest *)fetchRequest forName:(NSString *)name'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetFetchRequestTemplateForName( NSFetchRequest fetchRequest, NSString name )
Public Overridable Sub SetFetchRequestTemplateForName ( _ fetchRequest As NSFetchRequest, _ name As NSString _ )
public: virtual void SetFetchRequestTemplateForName( NSFetchRequest^ fetchRequest, NSString^ name )
Parameters
- fetchRequest (NSFetchRequest)
- A fetch request, typically containing predicates with variables for substitution.
- name (NSString)
- A string that specifies the name of the fetch request template.
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)