Compartir a través de


IVsTrackProjectDocuments2.OnAfterSccStatusChanged Method

This method is called by the Source Control Stub to inform listeners that source control status has changed. Do not call this method.

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

Syntax

'Declaración
Function OnAfterSccStatusChanged ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgpszMkDocuments As String(), _
    rgdwSccStatus As UInteger() _
) As Integer
'Uso
Dim instance As IVsTrackProjectDocuments2
Dim pProject As IVsProject
Dim cFiles As Integer
Dim rgpszMkDocuments As String()
Dim rgdwSccStatus As UInteger()
Dim returnValue As Integer

returnValue = instance.OnAfterSccStatusChanged(pProject, _
    cFiles, rgpszMkDocuments, rgdwSccStatus)
int OnAfterSccStatusChanged(
    IVsProject pProject,
    int cFiles,
    string[] rgpszMkDocuments,
    uint[] rgdwSccStatus
)
int OnAfterSccStatusChanged(
    [InAttribute] IVsProject^ pProject, 
    [InAttribute] int cFiles, 
    [InAttribute] array<String^>^ rgpszMkDocuments, 
    [InAttribute] array<unsigned int>^ rgdwSccStatus
)
abstract OnAfterSccStatusChanged : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int 
function OnAfterSccStatusChanged(
    pProject : IVsProject, 
    cFiles : int, 
    rgpszMkDocuments : String[], 
    rgdwSccStatus : uint[]
) : int

Parameters

  • rgpszMkDocuments
    Type: array<System.String[]
    [in, size_is(cFiles)] Array of file paths.
  • rgdwSccStatus
    Type: array<System.UInt32[]
    [in, size_is(cFiles)] Array of status values for each file. Values are taken from the SccStatus enumeration.

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 IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::OnAfterSccStatusChanged(
   [in] IVsProject *pProject,
   [in] int cFiles,
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[],
   [in, size_is(cFiles)] const DWORD rgdwSccStatus[]
);

The Source Control Stub calls this method directly to inform listeners that source control status has changed. For example, this notification can be used to find out when glyph changes are required. This notification is for listeners other than the project system, which receives notification of changes through IVsSccProject2.

.NET Framework Security

See Also

Reference

IVsTrackProjectDocuments2 Interface

IVsTrackProjectDocuments2 Members

Microsoft.VisualStudio.Shell.Interop Namespace