ParamArrayAttribute クラス
アセンブリ: mscorlib (mscorlib.dll 内)

<ComVisibleAttribute(True)> _ <AttributeUsageAttribute(AttributeTargets.Parameter, Inherited:=True, AllowMultiple:=False)> _ Public NotInheritable Class ParamArrayAttribute Inherits Attribute
[ComVisibleAttribute(true)] [AttributeUsageAttribute(AttributeTargets.Parameter, Inherited=true, AllowMultiple=false)] public sealed class ParamArrayAttribute : Attribute
[ComVisibleAttribute(true)] [AttributeUsageAttribute(AttributeTargets::Parameter, Inherited=true, AllowMultiple=false)] public ref class ParamArrayAttribute sealed : public Attribute

パラメータ配列を使用すると、任意の数の引数を指定できます。パラメータ配列は、仮パラメータ リストの最後に、1 次元配列として指定する必要があります。パラメータ配列を使用すると、メソッドに対する引数を次の 2 つの形式で指定できます。

System.Attribute
System.ParamArrayAttribute


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ParamArrayAttribute クラスのページへのリンク