ArgIterator.GetNextArg Método
Definição
Retorna o próximo argumento em uma lista de argumentos de comprimento variável.Returns the next argument in a variable-length argument list.
Sobrecargas
| GetNextArg() |
Retorna o próximo argumento em uma lista de argumentos de comprimento variável.Returns the next argument in a variable-length argument list. |
| GetNextArg(RuntimeTypeHandle) |
Retorna o próximo argumento em uma lista de argumentos de comprimento variável que tem um tipo especificado.Returns the next argument in a variable-length argument list that has a specified type. |
GetNextArg()
Importante
Esta API não está em conformidade com CLS.
Retorna o próximo argumento em uma lista de argumentos de comprimento variável.Returns the next argument in a variable-length argument list.
public:
TypedReference GetNextArg();
[System.CLSCompliant(false)]
public TypedReference GetNextArg ();
[<System.CLSCompliant(false)>]
member this.GetNextArg : unit -> TypedReference
Public Function GetNextArg () As TypedReference
Retornos
O próximo argumento como um objeto TypedReference.The next argument as a TypedReference object.
- Atributos
Exceções
Foi feita uma tentativa de ler além do fim da lista.An attempt was made to read beyond the end of the list.
Comentários
O iterador é automaticamente avançado para o próximo argumento.The iterator is automatically advanced to the next argument.
Aplica-se a
GetNextArg(RuntimeTypeHandle)
Importante
Esta API não está em conformidade com CLS.
Retorna o próximo argumento em uma lista de argumentos de comprimento variável que tem um tipo especificado.Returns the next argument in a variable-length argument list that has a specified type.
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
Parâmetros
Um identificador de tipo de runtime que identifica o tipo do argumento a recuperar.A runtime type handle that identifies the type of the argument to retrieve.
Retornos
O próximo argumento como um objeto TypedReference.The next argument as a TypedReference object.
- Atributos
Exceções
Foi feita uma tentativa de ler além do fim da lista.An attempt was made to read beyond the end of the list.
O ponteiro para os argumentos restantes é zero.The pointer to the remaining arguments is zero.
Comentários
O iterador é automaticamente avançado para o próximo argumento.The iterator is automatically advanced to the next argument.