ServiceDescriptionBaseCollection.GetKey(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與引用傳遞值相關的鍵名稱。
protected:
virtual System::String ^ GetKey(System::Object ^ value);
protected virtual string GetKey(object value);
abstract member GetKey : obj -> string
override this.GetKey : obj -> string
Protected Overridable Function GetKey (value As Object) As String
參數
- value
- Object
一個用來回傳金鑰名稱的物件。
傳回
一個空參考。
備註
此方法的預設實作設計是被派生類別覆蓋,以回傳與 value 參數相關的金鑰名稱。 預設實作會回傳 null(Nothing,Visual Basic 中)。 此受保護方法僅能透過此類別或衍生類別存取。