傳回值,這個值表示所提供的物件和目前的物件是否相等。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Function Equals ( _
other As SourceCodePosition _
) As Boolean
public bool Equals(
SourceCodePosition other
)
public:
virtual bool Equals(
SourceCodePosition^ other
) sealed
abstract Equals :
other:SourceCodePosition -> bool
override Equals :
other:SourceCodePosition -> bool
public final function Equals(
other : SourceCodePosition
) : boolean
參數
- other
型別:Microsoft.Data.Schema.SchemaModel.SourceCodePosition
要與目前物件比較的 SourceCodePosition。
傳回值
型別:System.Boolean
如果兩個物件相等,則為 true,否則為 false。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。