Redigera

Dela via


ArgIterator Constructors

Definition

Initializes a new instance of the ArgIterator structure.

Overloads

ArgIterator(RuntimeArgumentHandle)

Initializes a new instance of the ArgIterator structure using the specified argument list.

ArgIterator(RuntimeArgumentHandle, Void*)

Initializes a new instance of the ArgIterator structure using the specified argument list and a pointer to an item in the list.

ArgIterator(RuntimeArgumentHandle)

Source:
ArgIterator.cs
Source:
ArgIterator.cs
Source:
ArgIterator.cs

Initializes a new instance of the ArgIterator structure using the specified argument list.

public:
 ArgIterator(RuntimeArgumentHandle arglist);
public ArgIterator (RuntimeArgumentHandle arglist);
new ArgIterator : RuntimeArgumentHandle -> ArgIterator
Public Sub New (arglist As RuntimeArgumentHandle)

Parameters

arglist
RuntimeArgumentHandle

An argument list consisting of mandatory and optional arguments.

Remarks

The new ArgIterator object enumerates the argument list starting from the first optional argument.

Applies to

ArgIterator(RuntimeArgumentHandle, Void*)

Source:
ArgIterator.cs
Source:
ArgIterator.cs
Source:
ArgIterator.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the ArgIterator structure using the specified argument list and a pointer to an item in the list.

public:
 ArgIterator(RuntimeArgumentHandle arglist, void* ptr);
[System.CLSCompliant(false)]
public ArgIterator (RuntimeArgumentHandle arglist, void* ptr);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public ArgIterator (RuntimeArgumentHandle arglist, void* ptr);
[<System.CLSCompliant(false)>]
new ArgIterator : RuntimeArgumentHandle * nativeptr<unit> -> ArgIterator
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
new ArgIterator : RuntimeArgumentHandle * nativeptr<unit> -> ArgIterator

Parameters

arglist
RuntimeArgumentHandle

An argument list consisting of mandatory and optional arguments.

ptr
Void*

A pointer to the argument in arglist to access first, or the first mandatory argument in arglist if ptr is null.

Attributes

Remarks

The new ArgIterator object enumerates the argument list starting from the argument specified by ptr, or the first mandatory argument if ptr is null.

Applies to