Class ContentFormats
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class ContentFormats : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<ContentFormats>, IDisposable
- Inheritance
-
ContentFormats
- Implements
- Inherited Members
Constructors
ContentFormats(ContentFormatsOwnedHandle)
public ContentFormats(ContentFormatsOwnedHandle handle)
Parameters
handle
ContentFormatsOwnedHandle
Properties
Handle
public ContentFormatsOwnedHandle Handle { get; }
Property Value
Methods
ContainGtype(Type)
public bool ContainGtype(Type type)
Parameters
type
Type
Returns
ContainMimeType(string)
public bool ContainMimeType(string mimeType)
Parameters
mimeType
string
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(ContentFormats?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ContentFormats? other)
Parameters
other
ContentFormatsAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMimeTypes(out nuint)
public string[]? GetMimeTypes(out nuint nMimeTypes)
Parameters
nMimeTypes
nuint
Returns
- string[]
Match(ContentFormats)
public bool Match(ContentFormats second)
Parameters
second
ContentFormats
Returns
MatchGtype(ContentFormats)
public Type MatchGtype(ContentFormats second)
Parameters
second
ContentFormats
Returns
MatchMimeType(ContentFormats)
public string? MatchMimeType(ContentFormats second)
Parameters
second
ContentFormats
Returns
New(string[]?, uint)
public static ContentFormats New(string[]? mimeTypes, uint nMimeTypes)
Parameters
Returns
NewForGtype(Type)
public static ContentFormats NewForGtype(Type type)
Parameters
type
Type
Returns
Parse(string)
[Version("4.4")]
public static ContentFormats? Parse(string @string)
Parameters
string
string
Returns
Print(String)
public void Print(String @string)
Parameters
string
String
Ref()
public ContentFormats Ref()
Returns
ToString()
public string ToString()
Returns
Union(ContentFormats)
public ContentFormats Union(ContentFormats second)
Parameters
second
ContentFormats
Returns
UnionDeserializeGtypes()
public ContentFormats UnionDeserializeGtypes()
Returns
UnionDeserializeMimeTypes()
public ContentFormats UnionDeserializeMimeTypes()
Returns
UnionSerializeGtypes()
public ContentFormats UnionSerializeGtypes()
Returns
UnionSerializeMimeTypes()
public ContentFormats UnionSerializeMimeTypes()
Returns
Unref()
public void Unref()