Table of Contents

Class ContentFormats

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class ContentFormats : BoxedRecord, IEquatable<ContentFormats>
Inheritance
ContentFormats
Implements
Inherited Members

Constructors

ContentFormats(ContentFormatsOwnedHandle)

public ContentFormats(ContentFormatsOwnedHandle handle)

Parameters

handle ContentFormatsOwnedHandle

Properties

Handle

public ContentFormatsOwnedHandle Handle { get; }

Property Value

ContentFormatsOwnedHandle

Methods

ContainGtype(Type)

public bool ContainGtype(Type type)

Parameters

type Type

Returns

bool

ContainMimeType(string)

public bool ContainMimeType(string mimeType)

Parameters

mimeType string

Returns

bool

Equals(ContentFormats?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ContentFormats? other)

Parameters

other ContentFormats

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

bool

MatchGtype(ContentFormats)

public Type MatchGtype(ContentFormats second)

Parameters

second ContentFormats

Returns

Type

MatchMimeType(ContentFormats)

public string? MatchMimeType(ContentFormats second)

Parameters

second ContentFormats

Returns

string

New(string[]?, uint)

public static ContentFormats New(string[]? mimeTypes, uint nMimeTypes)

Parameters

mimeTypes string[]
nMimeTypes uint

Returns

ContentFormats

NewForGtype(Type)

public static ContentFormats NewForGtype(Type type)

Parameters

type Type

Returns

ContentFormats

Parse(string)

[Version("4.4")]
public static ContentFormats? Parse(string @string)

Parameters

string string

Returns

ContentFormats

Print(String)

public void Print(String @string)

Parameters

string String

Ref()

public ContentFormats Ref()

Returns

ContentFormats

ToString()

public string ToString()

Returns

string

Union(ContentFormats)

public ContentFormats Union(ContentFormats second)

Parameters

second ContentFormats

Returns

ContentFormats

UnionDeserializeGtypes()

public ContentFormats UnionDeserializeGtypes()

Returns

ContentFormats

UnionDeserializeMimeTypes()

public ContentFormats UnionDeserializeMimeTypes()

Returns

ContentFormats

UnionSerializeGtypes()

public ContentFormats UnionSerializeGtypes()

Returns

ContentFormats

UnionSerializeMimeTypes()

public ContentFormats UnionSerializeMimeTypes()

Returns

ContentFormats

Unref()

public void Unref()