UriSchemeKeyedCollection.GetKeyForItem(Uri) 方法

定義

從集合中取得指定 URI 的索引鍵。

protected:
 override System::String ^ GetKeyForItem(Uri ^ item);
protected override string GetKeyForItem (Uri item);
override this.GetKeyForItem : Uri -> string
Protected Overrides Function GetKeyForItem (item As Uri) As String

參數

item
Uri

正在擷取其索引鍵的 Uri

傳回

String

本集合中指定 URI 的索引鍵。

適用於