EmbeddedResourceReader.Read(Type, String) 메서드

정의

주의

Use Microsoft.AspNetCore.SpaServices.Extensions

지정된 어셈블리에서 지정된 포함된 리소스를 읽습니다.

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

매개 변수

assemblyContainingType
Type

리소스를 읽을 어셈블리의 모든 Type 입니다.

path
String

읽을 리소스의 경로입니다.

반환

리소스의 내용입니다.

특성

적용 대상