ArgIterator.GetNextArg Metod

Definition

Returnerar nästa argument i en argumentlista med variabel längd.

Överlagringar

Name Description
GetNextArg()

Returnerar nästa argument i en argumentlista med variabel längd.

GetNextArg(RuntimeTypeHandle)

Returnerar nästa argument i en argumentlista med variabel längd som har en angiven typ.

GetNextArg()

Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs

Viktigt!

Detta API uppfyller inte CLS.

Returnerar nästa argument i en argumentlista med variabel längd.

public:
 TypedReference GetNextArg();
[System.CLSCompliant(false)]
public TypedReference GetNextArg();
[<System.CLSCompliant(false)>]
member this.GetNextArg : unit -> TypedReference
Public Function GetNextArg () As TypedReference

Returer

Nästa argument som ett TypedReference objekt.

Attribut

Undantag

Ett försök gjordes att läsa bortom slutet av listan.

Kommentarer

Iteratorn avanceras automatiskt till nästa argument.

Gäller för

GetNextArg(RuntimeTypeHandle)

Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs
Källa:
ArgIterator.cs

Viktigt!

Detta API uppfyller inte CLS.

Returnerar nästa argument i en argumentlista med variabel längd som har en angiven typ.

public:
 TypedReference GetNextArg(RuntimeTypeHandle rth);
[System.CLSCompliant(false)]
public TypedReference GetNextArg(RuntimeTypeHandle rth);
[<System.CLSCompliant(false)>]
member this.GetNextArg : RuntimeTypeHandle -> TypedReference
Public Function GetNextArg (rth As RuntimeTypeHandle) As TypedReference

Parametrar

rth
RuntimeTypeHandle

Ett körningstyphandtag som identifierar vilken typ av argument som ska hämtas.

Returer

Nästa argument som ett TypedReference objekt.

Attribut

Undantag

Ett försök gjordes att läsa bortom slutet av listan.

Pekaren till de återstående argumenten är noll.

Kommentarer

Iteratorn avanceras automatiskt till nästa argument.

Gäller för