共用方式為


IVsDataObjectIdentifier 介面

表示資料物件的識別項。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Public Interface IVsDataObjectIdentifier _
    Inherits IList(Of Object), ICollection(Of Object),  _
    IEnumerable(Of Object), IEnumerable, IComparable(Of String),  _
    IComparable(Of Object()), IEquatable(Of String),  _
    IEquatable(Of Object())
public interface IVsDataObjectIdentifier : IList<Object>, 
    ICollection<Object>, IEnumerable<Object>, IEnumerable, 
    IComparable<string>, IComparable<Object[]>, IEquatable<string>, 
    IEquatable<Object[]>
public interface class IVsDataObjectIdentifier : IList<Object^>, 
    ICollection<Object^>, IEnumerable<Object^>, IEnumerable, 
    IComparable<String^>, IComparable<array<Object^>^>, 
    IEquatable<String^>, IEquatable<array<Object^>^>
type IVsDataObjectIdentifier =  
    interface 
        interface IList<Object>
        interface ICollection<Object>
        interface IEnumerable<Object>
        interface IEnumerable 
        interface IComparable<string>
        interface IComparable<Object[]>
        interface IEquatable<string>
        interface IEquatable<Object[]>
    end
public interface IVsDataObjectIdentifier extends IList<Object>, ICollection<Object>, IEnumerable<Object>, IEnumerable, IComparable<String>, IComparable<Object[]>, IEquatable<String>, IEquatable<Object[]>

IVsDataObjectIdentifier 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Count 取得 ICollection 中所包含的元素數。 (繼承自 ICollection<Object>)。
公用屬性 IsReadOnly 取得值,指出 ICollection 是否唯讀。 (繼承自 ICollection<Object>)。
公用屬性 Item 取得或設定指定之索引處的項目。 (繼承自 IList<Object>)。

回頁首

方法

  名稱 描述
公用方法 Add 將項目加入至 ICollection。 (繼承自 ICollection<Object>)。
公用方法 Clear 將所有項目從 ICollection 移除。 (繼承自 ICollection<Object>)。
公用方法 CompareTo(UTP) 將目前的執行個體與另一個具有相同型別的物件相比較。 (繼承自 IComparable<String>)。
公用方法 CompareTo(UTP) (繼承自 IComparable<array<Object[]>)。
公用方法 Contains 判斷 ICollection 是否包含特定值。 (繼承自 ICollection<Object>)。
公用方法 CopyTo 從特定的 Array 索引開始,複製 ICollection 項目至 Array。 (繼承自 ICollection<Object>)。
公用方法 Equals(UTP) 指出目前的物件是否等於另一個具有相同型別的物件。 (繼承自 IEquatable<String>)。
公用方法 Equals(UTP) (繼承自 IEquatable<array<Object[]>)。
公用方法 GetEnumerator 傳回逐一查看集合的列舉值。 (繼承自 IEnumerable<Object>)。
公用方法 IndexOf 判斷 IList 中特定項目的索引。 (繼承自 IList<Object>)。
公用方法 Insert 將項目插入位於指定索引的 IList。 (繼承自 IList<Object>)。
公用方法 Remove ICollection 移除特定物件的第一個相符項目。 (繼承自 ICollection<Object>)。
公用方法 RemoveAt 移除指定之索引處的 IList 項目。 (繼承自 IList<Object>)。
公用方法 ToArray 轉換為陣列的目前 IVsDataObjectIdentifier 物件表示識別項的識別項部分。
公用方法 ToString 轉換為包含識別組件,由分隔字串的目前 IVsDataObjectIdentifier 物件。

回頁首

備註

這個介面會實作為內建 DDEX 服務。

請參閱

參考

Microsoft.VisualStudio.Data.Services 命名空間