共用方式為


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
    套用此變更的檔案名稱,包括完整路徑。

.NET Framework 安全性

請參閱

參考

TextChangeProposal 類別

Microsoft.VisualStudio.Data.Schema.Package.Refactoring 命名空間