共用方式為


IVsWCFMetadataStorageEvents.OnMetadataFileRenamed 方法

後引發事件的中繼資料檔案已被重新命名。

命名空間:  Microsoft.VisualStudio.WCFReference.Interop
組件:  Microsoft.VisualStudio.WCFReference.Interop (在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

語法

'宣告
Sub OnMetadataFileRenamed ( _
    pszFileNameOld As String, _
    pszFileNameNew As String _
)
void OnMetadataFileRenamed(
    string pszFileNameOld,
    string pszFileNameNew
)
void OnMetadataFileRenamed(
    [InAttribute] String^ pszFileNameOld, 
    [InAttribute] String^ pszFileNameNew
)
abstract OnMetadataFileRenamed : 
        pszFileNameOld:string * 
        pszFileNameNew:string -> unit
function OnMetadataFileRenamed(
    pszFileNameOld : String, 
    pszFileNameNew : String
)

參數

  • pszFileNameOld
    類型:String

    中繼資料檔的原始名稱。

  • pszFileNameNew
    類型:String

    中繼資料檔的新名稱。

備註

當儲存體中的檔案由外部程式變更,則專案系統會引發這個事件。

.NET Framework 安全性

請參閱

參考

IVsWCFMetadataStorageEvents 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間