Compartir a través de


IVsServiceReferenceMetadataStorageEvents.OnMetadataFileRenamed Method

Raises an event after a metadata file has been renamed.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'Declaration
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
)

Parameters

  • pszFileNameOld
    Type: System.String

    The original name of the metadata file.

  • pszFileNameNew
    Type: System.String

    The new name of the metadata file.

Remarks

This event is raised by the project system when files in the storage are changed externally.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorageEvents Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace