UniqueId.ToCharArray(Char[], Int32) Método

Definição

Coloca o valor UniqueId em uma matriz char.Puts the UniqueId value into a char array.

public:
 int ToCharArray(cli::array <char> ^ chars, int offset);
public int ToCharArray (char[] chars, int offset);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
public int ToCharArray (char[] chars, int offset);
member this.ToCharArray : char[] * int -> int
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
member this.ToCharArray : char[] * int -> int
Public Function ToCharArray (chars As Char(), offset As Integer) As Integer

Parâmetros

chars
Char[]

A matriz char.The char array.

offset
Int32

Posição na matriz char em que se começar a inserir o valor UniqueId.Position in the char array to start inserting the UniqueId value.

Retornos

Int32

Número de entradas na matriz char preenchidas pelo valor UniqueId.Number of entries in the char array filled by the UniqueId value.

Atributos

Exceções

chars é null.chars is null.

offset menor que zero ou maior que o tamanho da matriz.offset less than zero or greater than the length of the array.

guid e offset fornecem menos que 16 bytes válidos.guid and offset provide less than 16 valid bytes.

Comentários

Esse método é unsafe.This method is unsafe.

Aplica-se a