PropertyContext 构造函数

定义

初始化 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>

可选环境

适用于