次の方法で共有


MessageCollection.GetKey メソッド

参照渡しされた値に関連付けられている Message の名前を返します。

Overrides Protected Function GetKey( _
   ByVal value As Object _) As String
[C#]
protected override string GetKey(objectvalue);
[C++]
protected: String* GetKey(Object* value);
[JScript]
protected override function GetKey(
   value : Object) : String;

パラメータ

  • value
    名前を返す対象となる Message

戻り値

value パラメータの名前。

例外

例外の種類 条件
InvalidCastException value パラメータは、 Message 型へ明示的にキャストすることはできません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

MessageCollection クラス | MessageCollection メンバ | System.Web.Services.Description 名前空間