Partilhar via


EmbeddedResourceReader.Read(Type, String) Método

Definição

Cuidado

Use Microsoft.AspNetCore.SpaServices.Extensions

Lê o recurso inserido especificado de um determinado assembly.

public:
 static System::String ^ Read(Type ^ assemblyContainingType, System::String ^ path);
public static string Read (Type assemblyContainingType, string path);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static string Read (Type assemblyContainingType, string path);
static member Read : Type * string -> string
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member Read : Type * string -> string
Public Shared Function Read (assemblyContainingType As Type, path As String) As String

Parâmetros

assemblyContainingType
Type

Qualquer Type no assembly cujo recurso deve ser lido.

path
String

O caminho do recurso a ser lido.

Retornos

O conteúdo do recurso.

Atributos

Aplica-se a