你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentType.Equality(ContentType, ContentType) 运算符

定义

比较两 ContentType 个 实例的相等性。

public static bool operator == (Azure.Core.ContentType left, Azure.Core.ContentType right);
static member ( = ) : Azure.Core.ContentType * Azure.Core.ContentType -> bool
Public Shared Operator == (left As ContentType, right As ContentType) As Boolean

参数

left
ContentType

要比较的方法。

right
ContentType

要与之进行比较的方法。

返回

true如果 ContentType 值等于 和 right,则为 left ,否则为 false

适用于