ResourceDescription 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
資源名稱。
- 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
副檔名要儲存在中繼資料中的檔案名。
- isPublic
- Boolean
如果資源是公用的,則為 True。
備註
函式會傳回用來計算雜湊) 的資源內容資料流程 (。