Class MimeType

Class MimeType

이름 공간 : Aspose.Html 구성: Aspose.HTML.dll (25.4.0)

인터넷 미디어 유형을 나타냅니다.

[ComVisible(true)]
public class MimeType : IEquatable<mimetype>

Inheritance

object MimeType

Implements

IEquatable

상속 회원들

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

MimeType(스트리트)

MIME 유형의 새로운 사례를 시리화 된 링 값을 기반으로 시작합니다.

public MimeType(string value)

Parameters

value string

그 가치가 있다.

Properties

SubType

아래 미디어 유형을 얻습니다.

public string SubType { get; }

부동산 가치

string

Type

미디어 유형을 얻는다.

public string Type { get; }

부동산 가치

string

Methods

Equals(MimeType)

현재 개체가 동일한 유형의 다른 개체와 동일한지 여부를 나타냅니다.

public bool Equals(MimeType other)

Parameters

other MimeType

이 개체와 비교할 수 있는 개체입니다.

Returns

bool

현재 개체가 other’ 파라미터와 동일한 경우 사실; 그렇지 않으면, 가짜.

Equals(객체)

지정된 System.Object이 현재 System.Object과 동일한지 결정합니다.

public override bool Equals(object obj)

Parameters

obj object

System.Object은 현재 System.Object과 비교할 수 있습니다.

Returns

bool

정확한 경우 지정된 System.Object는 현재 System.Object와 동일한 경우; 그렇지 않으면, 가짜.

FromFileExtension(스트리트)

파일 확장을 기반으로 새로운 MIME 유형을 만듭니다.

public static MimeType FromFileExtension(string fileName)

Parameters

fileName string

파일의 이름입니다.

Returns

MimeType

MIME 유형의 새로운 사례

GetHashCode()

이 경우 해시 코드를 반환합니다.

public override int GetHashCode()

Returns

int

이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.

ToString()

Mime 타입을 나타내는 System.String을 반환합니다.

public override string ToString()

Returns

string

이 기회를 대표하는 시스템.String입니다.

Operators

운영자 =(미메타이프, 미메타이프)

두 개의 Mime 타입을 비교하고 두 개가 일치하는지 여부를 나타내는 보일러를 반환합니다.

public static bool operator ==(MimeType a, MimeType b)

Parameters

a MimeType

비교할 수 있는 최초의 미메

b MimeType

비교할 수 있는 두 번째 Mime.

Returns

bool

True 두 가지가 동일하다면, 그렇지 않으면 The translation of “false” to Korean is “거짓”..

MimeType 실용적인 운영자(스트리트)

그것은 System.String에서 Aspose.Html.MimeType로 가속 변환을 수행합니다.

public static implicit operator MimeType(string @string)

Parameters

string string

그 끈을

Returns

MimeType

변환의 결과입니다.

실용적인 운영자 스트리트(MimeType)

그것은 Aspose.Html.MimeType에서 System.String로 가상 변환을 수행합니다.

public static implicit operator string(MimeType type)

Parameters

type MimeType

미미 유형

Returns

string

변환의 결과입니다.

운영자 !=(미메타이프, 미메타이프)

두 개의 Mime 타입을 비교하고 두 개가 일치하는지 여부를 나타내는 보일러를 반환합니다.

public static bool operator !=(MimeType a, MimeType b)

Parameters

a MimeType

비교할 수 있는 최초의 미메

b MimeType

비교할 수 있는 두 번째 Mime.

Returns

bool

True 둘 다 평등하지 않은 경우, 그렇지 않으면 The translation of “false” to Korean is “거짓”..

또한 보기

IEquatable

 한국어