ManagementBaseObject.Equals(Object) 方法
定义
比较两个管理对象。Compares two management objects.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
- obj
- Object
与此实例进行比较的对象。An object to compare with this instance.
返回
如果这是 ManagementBaseObject 的一个实例并且与该实例表示相同的对象,则为 true;否则为 false。true if this is an instance of ManagementBaseObject and represents the same object as this instance; otherwise, false.
注解
.NET Framework 安全性.NET Framework Security
对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅从部分受信任的代码使用库。For more information, see Using Libraries from Partially Trusted Code.