Class HttpMethod

Class HttpMethod

名称: Aspose.Html.Net セットアップ: Aspose.HTML.dll (25.4.0)

標準的な HTTP 方法を取得および比較するためのユーティリティ クラスを表しています。

[ComVisible(true)]
public class HttpMethod : IEquatable<httpmethod>

Inheritance

object HttpMethod

Implements

IEquatable

相続人

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

Constructors

HttpMethod(ストレッチ)

Aspose.Html.Net.HttpMethod クラスの新しい例を特定の HTTP メソッドで開始します。

public HttpMethod(string method)

Parameters

method string

方法です。

Properties

Delete

HTTP DELETE プロトコル メソッド

public static HttpMethod Delete { get; }

不動産価値

HttpMethod

Get

HTTP GET プロトコル メソッド

public static HttpMethod Get { get; }

不動産価値

HttpMethod

Post

HTTP POST プロトコル メソッド

public static HttpMethod Post { get; }

不動産価値

HttpMethod

Put

HTTP PUT プロトコル メソッド

public static HttpMethod Put { get; }

不動産価値

HttpMethod

Methods

Equals(HttpMethod)

現在のオブジェクトが同じタイプの他のオブジェクトに等しいかどうかを示す。

public bool Equals(HttpMethod other)

Parameters

other HttpMethod

このオブジェクトと比べるオブジェクト

Returns

bool

現在のオブジェクトが other’ パラメーターに等しい場合の真実; そうでなければ、偽物。

Equals(対象)

指定された System.Object がこの例に等しいかどうかを決定します。

public override bool Equals(object obj)

Parameters

obj object

システム.オブジェクトは、この例と比較します。

Returns

bool

「真実」は、指定されたシステム.オブジェクトがこの例に等しい場合、そうでなければ「偽物」です。

GetHashCode()

この例にハッシュコードを返します。

public override int GetHashCode()

Returns

int

この例のハッシュコードは、ハッシュテーブルのようなハッシュアルゴリズムやデータ構造で使用するのに適しています。

ToString()

このインスタンスを代表するSystem.Stringを返します。

public override string ToString()

Returns

string

このインスタンスを代表するシステムストリングです。

Operators

オペレーター=(HTTPメソッド、HTTPメソッド)

平等事業者を導入する。

public static bool operator ==(HttpMethod left, HttpMethod right)

Parameters

left HttpMethod

左のオペラ。

right HttpMethod

左のオペラ。

Returns

bool

作戦の結果です。

オペレーター HttpMethod(ストレッチ)

System.String から Aspose.Html.Net.HttpMethod への明確な変換を実行します。

public static explicit operator HttpMethod(string name)

Parameters

name string

HTTPメソッドの名前

Returns

HttpMethod

変換の結果です。

オペレーター !=(HTTPメソッド、HTTPメソッド)

平等事業者を導入する。

public static bool operator !=(HttpMethod left, HttpMethod right)

Parameters

left HttpMethod

左のオペラ。

right HttpMethod

左のオペラ。

Returns

bool

作戦の結果です。

 日本語