CodeIdentifiers.MakeRightCase(String) Método

Definição

Garante que a entrada tenha as maiúsculas e minúsculas corretas, modificando o nome de acordo com o valor da propriedade UseCamelCasing.Ensures that the input is of the correct case by modifying the name according to the value of the UseCamelCasing property.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

public:
 System::String ^ MakeRightCase(System::String ^ identifier);
public string MakeRightCase (string identifier);
member this.MakeRightCase : string -> string
Public Function MakeRightCase (identifier As String) As String

Parâmetros

identifier
String

O nome que possivelmente será modificado.The name to possibly modify.

Retornos

String

Uma cadeia de caracteres que é igual ao o identificador de entrada ou tem a maiúscula ou minúscula da primeira letra modificada.A string that is the same as the input identifier or has the first letter's case modified.

Comentários

Se o valor da UseCamelCasing propriedade for true e o primeiro caractere da entrada for uma letra, ele será feito em minúsculas, se necessário.If the value of the UseCamelCasing property is true and the first character of the input is a letter, it is made lowercase, if necessary. Se o valor de UseCamelCasing for false , o caso do Pascal estará em vigor e o primeiro caractere, se uma letra, estiver em letras maiúsculas, se necessário.If the value of the UseCamelCasing is false, Pascal case is in effect and the first character, if a letter, is capitalized, if necessary.

Aplica-se a