共用方式為


ResourceDescription 建構函式

定義

多載

ResourceDescription(String, Func<Stream>, Boolean)

建立資源的標記法,其內容要內嵌在輸出元件中。

ResourceDescription(String, String, Func<Stream>, Boolean)

建立資源的標記法,其檔案名將會記錄在元件中。

ResourceDescription(String, Func<Stream>, Boolean)

Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs

建立資源的標記法,其內容要內嵌在輸出元件中。

public:
 ResourceDescription(System::String ^ resourceName, Func<System::IO::Stream ^> ^ dataProvider, bool isPublic);
public ResourceDescription (string resourceName, Func<System.IO.Stream> dataProvider, bool isPublic);
new Microsoft.CodeAnalysis.ResourceDescription : string * Func<System.IO.Stream> * bool -> Microsoft.CodeAnalysis.ResourceDescription
Public Sub New (resourceName As String, dataProvider As Func(Of Stream), isPublic As Boolean)

參數

resourceName
String

資源名稱。

dataProvider
Func<Stream>

呼叫端會在使用後處置結果。 這可讓資源一次開啟並讀取一個。

isPublic
Boolean

如果資源是公用的,則為 True。

備註

傳回要內嵌之資料的資料流程。

適用於

ResourceDescription(String, String, Func<Stream>, Boolean)

Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs
Source:
ResourceDescription.cs

建立資源的標記法,其檔案名將會記錄在元件中。

public:
 ResourceDescription(System::String ^ resourceName, System::String ^ fileName, Func<System::IO::Stream ^> ^ dataProvider, bool isPublic);
public ResourceDescription (string resourceName, string fileName, Func<System.IO.Stream> dataProvider, bool isPublic);
public ResourceDescription (string resourceName, string? fileName, Func<System.IO.Stream> dataProvider, bool isPublic);
new Microsoft.CodeAnalysis.ResourceDescription : string * string * Func<System.IO.Stream> * bool -> Microsoft.CodeAnalysis.ResourceDescription
Public Sub New (resourceName As String, fileName As String, dataProvider As Func(Of Stream), isPublic As Boolean)

參數

resourceName
String

資源名稱。

fileName
String

副檔名要儲存在中繼資料中的檔案名。

dataProvider
Func<Stream>

呼叫端會在使用後處置結果。 這可讓資源一次開啟並讀取一個。

isPublic
Boolean

如果資源是公用的,則為 True。

備註

函式會傳回用來計算雜湊) 的資源內容資料流程 (。

適用於