PropertyContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PropertyContext 类的新实例。
public:
PropertyContext(System::String ^ filePath, System::String ^ prefixNamespace, System::String ^ name, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments);
public PropertyContext (string filePath, string prefixNamespace, string name, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments);
new Microsoft.VisualStudio.Workspace.Evaluator.PropertyContext : string * string * string * System.Collections.Generic.IReadOnlyCollection<string> -> Microsoft.VisualStudio.Workspace.Evaluator.PropertyContext
Public Sub New (filePath As String, prefixNamespace As String, name As String, inheritEnvironments As IReadOnlyCollection(Of String))
参数
- filePath
- String
正在计算此属性的文件路径上下文
- prefixNamespace
- String
命名空间
- name
- String
属性的名称
- inheritEnvironments
- IReadOnlyCollection<String>
可选环境