Returns a normalized font descriptor whose specified attributes match those of the receiver.
Original signature is '- (NSFontDescriptor *)matchingFontDescriptorWithMandatoryKeys:(NSSet *)mandatoryKeys'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public virtual NSFontDescriptor MatchingFontDescriptorWithMandatoryKeys( NSSet mandatoryKeys )
Public Overridable Function MatchingFontDescriptorWithMandatoryKeys ( _ mandatoryKeys As NSSet _ ) As NSFontDescriptor
public: virtual NSFontDescriptor^ MatchingFontDescriptorWithMandatoryKeys( NSSet^ mandatoryKeys )

- mandatoryKeys (NSSet)
- Keys that must be identical to be matched. Can be nil.

The matching font descriptor.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)