Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Notifies a solution of a project file location change.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UpdateProjectFileLocation ( _
pHierarchy As IVsHierarchy _
) As Integer
'Usage
Dim instance As IVsSolution2
Dim pHierarchy As IVsHierarchy
Dim returnValue As Integer
returnValue = instance.UpdateProjectFileLocation(pHierarchy)
int UpdateProjectFileLocation(
IVsHierarchy pHierarchy
)
int UpdateProjectFileLocation(
[InAttribute] IVsHierarchy^ pHierarchy
)
abstract UpdateProjectFileLocation :
pHierarchy:IVsHierarchy -> int
function UpdateProjectFileLocation(
pHierarchy : IVsHierarchy
) : int
Parameters
- pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] IVsHierarchy object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolution2::UpdateProjectFileLocation(
[in] IVsHierarchy *pHierarchy
);
Tells the solution to update the internal file names it is keeping for a project—particularly the file name that is being monitored for file change notifications. This is used, for example, when a Web project is taken off-line so the solution knows to update the file name and watch the local file name rather than the Web file name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.