Module.ResolveString(Int32) Método

Definição

Retorna a cadeia de caracteres identificada pelo token de metadados especificado.Returns the string identified by the specified metadata token.

public:
 virtual System::String ^ ResolveString(int metadataToken);
public:
 System::String ^ ResolveString(int metadataToken);
public virtual string ResolveString (int metadataToken);
public string ResolveString (int metadataToken);
abstract member ResolveString : int -> string
override this.ResolveString : int -> string
member this.ResolveString : int -> string
Public Overridable Function ResolveString (metadataToken As Integer) As String
Public Function ResolveString (metadataToken As Integer) As String

Parâmetros

metadataToken
Int32

Um token de metadados que identifica uma cadeia de caracteres no heap de cadeia de caracteres do módulo.A metadata token that identifies a string in the string heap of the module.

Retornos

String

Um String que contém um valor de cadeia de caracteres do heap de cadeia de caracteres de metadados.A String containing a string value from the metadata string heap.

Exceções

metadataToken não é um token para uma cadeia de caracteres no escopo do módulo atual.metadataToken is not a token for a string in the scope of the current module.

metadataToken não é um token válido no escopo do módulo atual.metadataToken is not a valid token in the scope of the current module.

Comentários

Observação

Informações sobre tokens de metadados podem ser encontradas na documentação do Common Language Infrastructure (CLI), especialmente "partição II: definição de metadados e semântica".Information about metadata tokens can be found in the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics". A documentação está disponível online; consulte padrões ECMA C# e Common Language Infrastructure no MSDN e standard ECMA-335-Common Language Infrastructure (CLI) no site da ECMA.The documentation is available online; see ECMA C# and Common Language Infrastructure Standards on MSDN and Standard ECMA-335 - Common Language Infrastructure (CLI) on the ECMA Web site.

Aplica-se a