System::Net::Http::HttpMethod::Equals 方法

HttpMethod::Equals(System::SharedPtr<HttpMethod>) method

确定当前对象和指定对象是否相等。

bool System::Net::Http::HttpMethod::Equals(System::SharedPtr<HttpMethod> other) override
参数类型描述
其他System::SharedPtr<HttpMethod>用于与当前对象比较的对象

ReturnValue

如果对象相等则为 true,否则为 false

另见

HttpMethod::Equals(System::SharedPtr<Object>) method

使用 C# Object.Equals 语义比较对象。

bool System::Net::Http::HttpMethod::Equals(System::SharedPtr<Object> obj) override
参数类型描述
objSystem::SharedPtr<Object>Object 用于比较当前对象。

ReturnValue

如果对象被视为相等则为 true,否则为 false。

另见