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

読み取るリソースのパス。

戻り値

リソースの内容。

属性

適用対象