TextChangeProposal 构造函数
初始化 TextChangeProposal 类的新实例。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Sub New ( _
projectName As String, _
fileName As String, _
newValue As String _
)
public TextChangeProposal(
string projectName,
string fileName,
string newValue
)
public:
TextChangeProposal(
String^ projectName,
String^ fileName,
String^ newValue
)
new :
projectName:string *
fileName:string *
newValue:string -> TextChangeProposal
public function TextChangeProposal(
projectName : String,
fileName : String,
newValue : String
)
参数
- projectName
类型:System.String
此文件所属的项目名称(包括完整路径)。
- fileName
类型:System.String
此更改应用于的文件名称(包括完整路径)。
- newValue
类型:System.String
此更改的新值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。