次の方法で共有


IToolboxService.IsSupported メソッド (Object, ICollection)

シリアル化ツールボックス項目を表す指定したオブジェクトが、指定した属性と一致するかどうかを示す値を取得します。

Function IsSupported( _
   ByVal serializedObject As Object, _   ByVal filterAttributes As ICollection _) As Boolean
[C#]
bool IsSupported(
   objectserializedObject,ICollectionfilterAttributes);
[C++]
bool IsSupported(
   Object* serializedObject,ICollection* filterAttributes);
[JScript]
function IsSupported(
   serializedObject : Object,filterAttributes : ICollection) : Boolean;

パラメータ

  • serializedObject
    取得する ToolboxItem を格納しているオブジェクト。
  • filterAttributes
    シリアル化オブジェクトのテスト対象の属性を格納している ICollection

戻り値

オブジェクトが指定した属性と一致する場合は true 。それ以外の場合は false

必要条件

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

参照

IToolboxService インターフェイス | IToolboxService メンバ | System.Drawing.Design 名前空間 | IToolboxService.IsSupported オーバーロードの一覧