ContributorArgumentConfiguration 類別
由 BuildContributor 和 DeploymentContributor 物件在執行階段建立,以初始化在設計階段建立並儲存於專案檔的引數。
繼承階層架構
System.Object
Microsoft.Data.Schema.Build.ContributorArgumentConfiguration
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public NotInheritable Class ContributorArgumentConfiguration
public sealed class ContributorArgumentConfiguration
public ref class ContributorArgumentConfiguration sealed
[<Sealed>]
type ContributorArgumentConfiguration = class end
public final class ContributorArgumentConfiguration
ContributorArgumentConfiguration 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
ContributorArgumentConfiguration() | 初始化 ContributorArgumentConfiguration 類別的新執行個體。 |
![]() |
ContributorArgumentConfiguration(String, String, String) | 使用提供的參數,初始化 ContributorArgumentConfiguration 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Condition | 取得或設定引數的條件。 |
![]() |
Name | 取得或設定引數的名稱。 |
![]() |
Value | 取得或設定引數的值,這個值以 string 表示。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
備註
在專案檔中,會如下所示儲存引數:
<ItemGroup>
<BuildContributorArgument Include="Name=Value" Condition="Condition" />
<ItemGroup>
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.Data.Schema.Build 命名空間