語言

ServiceDescriptionBaseCollection.GetKey(Object) 方法

定義

回傳與引用傳遞值相關的鍵名稱。

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 中)。 此受保護方法僅能透過此類別或衍生類別存取。

適用於