次の方法で共有


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged Method

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣言
Private Function OnAfterSccStatusChanged ( _
    cProjects As Integer, _
    cFiles As Integer, _
    rgpProjects As IVsProject(), _
    rgFirstIndices As Integer(), _
    rgpszMkDocuments As String(), _
    rgdwSccStatus As UInteger() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged
'使用
Dim instance As FlavoredProject
Dim cProjects As Integer
Dim cFiles As Integer
Dim rgpProjects As IVsProject()
Dim rgFirstIndices As Integer()
Dim rgpszMkDocuments As String()
Dim rgdwSccStatus As UInteger()
Dim returnValue As Integer

returnValue = CType(instance, IVsTrackProjectDocumentsEvents2).OnAfterSccStatusChanged(cProjects, _
    cFiles, rgpProjects, rgFirstIndices, _
    rgpszMkDocuments, rgdwSccStatus)
int IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(
    int cProjects,
    int cFiles,
    IVsProject[] rgpProjects,
    int[] rgFirstIndices,
    string[] rgpszMkDocuments,
    uint[] rgdwSccStatus
)
private:
virtual int OnAfterSccStatusChanged(
    int cProjects, 
    int cFiles, 
    array<IVsProject^>^ rgpProjects, 
    array<int>^ rgFirstIndices, 
    array<String^>^ rgpszMkDocuments, 
    array<unsigned int>^ rgdwSccStatus
) sealed = IVsTrackProjectDocumentsEvents2::OnAfterSccStatusChanged
private abstract OnAfterSccStatusChanged : 
        cProjects:int * 
        cFiles:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int 
private override OnAfterSccStatusChanged : 
        cProjects:int * 
        cFiles:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgdwSccStatus:uint32[] -> int 
JScript does not support explicit interface implementations.

Parameters

  • cProjects
    Type: System.Int32
    The number of projects in the rgpProjects array.
  • rgFirstIndices
    Type: array<System.Int32[]
    An array of the indices of the files.
  • rgpszMkDocuments
    Type: array<System.String[]
    An array of paths of the files.
  • rgdwSccStatus
    Type: array<System.UInt32[]
    An array of SccStatus flags. May be nulla null reference (Nothing in Visual Basic).

Return Value

Type: System.Int32
S_OK().

Implements

IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, array<IVsProject[], array<Int32[], array<String[], array<UInt32[])

Remarks

Events are filtered so that they report only those related to this project. This is not required for flavoring, but it simplifies the work the derived classes have to do when subscribing to these events.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace