PropertyGroup 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PropertyGroup(String, String, String, IReadOnlyCollection<String>, Int32, PropertyVariable[])
初始化 PropertyGroup 類別的新執行個體。
public:
PropertyGroup(System::String ^ groupNamespace, System::String ^ globPatterns, System::String ^ environment, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments, int groupPriority, ... cli::array <Microsoft::VisualStudio::Workspace::Evaluator::PropertyVariable ^> ^ properties);
public PropertyGroup (string groupNamespace, string globPatterns, string environment, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments, int groupPriority, params Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable[] properties);
public PropertyGroup (string groupNamespace, string? globPatterns, string? environment, System.Collections.Generic.IReadOnlyCollection<string>? inheritEnvironments, int groupPriority, params Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable[] properties);
new Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup : string * string * string * System.Collections.Generic.IReadOnlyCollection<string> * int * Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable[] -> Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup
Public Sub New (groupNamespace As String, globPatterns As String, environment As String, inheritEnvironments As IReadOnlyCollection(Of String), groupPriority As Integer, ParamArray properties As PropertyVariable())
參數
- groupNamespace
- String
此屬性的命名空間
- globPatterns
- String
要套用的範圍
- environment
- String
要套用的環境
- inheritEnvironments
- IReadOnlyCollection<String>
選擇性的參考內容清單
- groupPriority
- Int32
要套用的群組優先順序
- properties
- PropertyVariable[]
要包含的屬性集合
適用於
PropertyGroup(String, String, String, IReadOnlyCollection<String>, Int32, IDictionary<String,String>)
初始化 PropertyGroup 類別的新執行個體。
public:
PropertyGroup(System::String ^ groupNamespace, System::String ^ globPatterns, System::String ^ environment, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments, int groupPriority, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties);
public PropertyGroup (string groupNamespace, string globPatterns, string environment, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments, int groupPriority, System.Collections.Generic.IDictionary<string,string> properties);
public PropertyGroup (string groupNamespace, string? globPatterns, string? environment, System.Collections.Generic.IReadOnlyCollection<string>? inheritEnvironments, int groupPriority, System.Collections.Generic.IDictionary<string,string> properties);
new Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup : string * string * string * System.Collections.Generic.IReadOnlyCollection<string> * int * System.Collections.Generic.IDictionary<string, string> -> Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup
Public Sub New (groupNamespace As String, globPatterns As String, environment As String, inheritEnvironments As IReadOnlyCollection(Of String), groupPriority As Integer, properties As IDictionary(Of String, String))
參數
- groupNamespace
- String
此屬性的命名空間
- globPatterns
- String
逗號分隔 Glob 模式
- environment
- String
要套用的環境
- inheritEnvironments
- IReadOnlyCollection<String>
選擇性的繼承環境清單
- groupPriority
- Int32
要套用的群組優先順序
- properties
- IDictionary<String,String>
要包含的屬性集合
適用於
PropertyGroup(String, String, String, IReadOnlyCollection<String>, Int32, IReadOnlyCollection<PropertyVariable>)
初始化 PropertyGroup 類別的新執行個體。
public:
PropertyGroup(System::String ^ groupNamespace, System::String ^ globPatterns, System::String ^ environment, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments, int groupPriority, System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Evaluator::PropertyVariable ^> ^ properties);
public PropertyGroup (string groupNamespace, string globPatterns, string environment, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments, int groupPriority, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> properties);
public PropertyGroup (string groupNamespace, string? globPatterns, string? environment, System.Collections.Generic.IReadOnlyCollection<string>? inheritEnvironments, int groupPriority, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> properties);
new Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup : string * string * string * System.Collections.Generic.IReadOnlyCollection<string> * int * System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> -> Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup
Public Sub New (groupNamespace As String, globPatterns As String, environment As String, inheritEnvironments As IReadOnlyCollection(Of String), groupPriority As Integer, properties As IReadOnlyCollection(Of PropertyVariable))
參數
- groupNamespace
- String
此屬性的命名空間
- globPatterns
- String
要套用的範圍
- environment
- String
要套用的環境
- inheritEnvironments
- IReadOnlyCollection<String>
選擇性的參考內容清單
- groupPriority
- Int32
要套用的群組優先順序
- properties
- IReadOnlyCollection<PropertyVariable>
要包含的屬性集合
適用於
PropertyGroup(String, String, IReadOnlyCollection<String>, String, IReadOnlyCollection<String>, Int32, IReadOnlyCollection<PropertyVariable>)
初始化 PropertyGroup 類別的新執行個體。
public:
PropertyGroup(System::String ^ groupNamespace, System::String ^ fileMatcherRoot, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ globPatterns, System::String ^ environment, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments, int groupPriority, System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Evaluator::PropertyVariable ^> ^ properties);
public PropertyGroup (string groupNamespace, string fileMatcherRoot, System.Collections.Generic.IReadOnlyCollection<string> globPatterns, string environment, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments, int groupPriority, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> properties);
public PropertyGroup (string groupNamespace, string? fileMatcherRoot, System.Collections.Generic.IReadOnlyCollection<string>? globPatterns, string? environment, System.Collections.Generic.IReadOnlyCollection<string>? inheritEnvironments, int groupPriority, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> properties);
new Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup : string * string * System.Collections.Generic.IReadOnlyCollection<string> * string * System.Collections.Generic.IReadOnlyCollection<string> * int * System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Evaluator.PropertyVariable> -> Microsoft.VisualStudio.Workspace.Evaluator.PropertyGroup
Public Sub New (groupNamespace As String, fileMatcherRoot As String, globPatterns As IReadOnlyCollection(Of String), environment As String, inheritEnvironments As IReadOnlyCollection(Of String), groupPriority As Integer, properties As IReadOnlyCollection(Of PropertyVariable))
參數
- groupNamespace
- String
此屬性的命名空間
- fileMatcherRoot
- String
Glob 模式的隱含根目錄
- globPatterns
- IReadOnlyCollection<String>
git 樣式 glob 模式
- environment
- String
要套用的環境
- inheritEnvironments
- IReadOnlyCollection<String>
選擇性的參考內容清單
- groupPriority
- Int32
要套用的群組優先順序
- properties
- IReadOnlyCollection<PropertyVariable>
要包含的屬性集合