次の方法で共有


ServiceDescriptionFormatExtensionCollection.Find メソッド (Type)

ServiceDescriptionFormatExtensionCollection を検索し、指定した派生 Type の最初の要素を返します。

Overloads Public Function Find( _
   ByVal type As Type _) As Object
[C#]
public object Find(Typetype);
[C++]
public: Object* Find(Type* type);
[JScript]
public function Find(
   type : Type) : Object;

パラメータ

  • type
    コレクション内での検索対象となる Type

戻り値

この検索が成功した場合は、指定した Type のオブジェクト。それ以外の場合は null 参照 (Visual Basic では Nothing) 。

解説

このメソッドは、コレクションをインデックス順に検索し、最小の番号のインデックスと一致した要素だけを返します。

必要条件

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

参照

ServiceDescriptionFormatExtensionCollection クラス | ServiceDescriptionFormatExtensionCollection メンバ | System.Web.Services.Description 名前空間 | ServiceDescriptionFormatExtensionCollection.Find オーバーロードの一覧