Call.IsSupportedMediaType(String) 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.
Determines whether the given media type is present in the list of supported media types.
public:
virtual bool IsSupportedMediaType(System::String ^ mediaType);
public virtual bool IsSupportedMediaType (string mediaType);
abstract member IsSupportedMediaType : string -> bool
override this.IsSupportedMediaType : string -> bool
Public Overridable Function IsSupportedMediaType (mediaType As String) As Boolean
Parameters
- mediaType
- String
Type of the media.
Returns
true if it is the default media or if it is the specified media type; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for