ProjectNode.GetSccFiles Method (UInt32, [], [])

Gets the files that should be placed under source code control for a given item ID.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function GetSccFiles ( _
    itemid As UInteger, _
    stringsOut As CALPOLESTR(), _
    flagsOut As CADWORD() _
) As Integer
'使用
Dim instance As ProjectNode
Dim itemid As UInteger
Dim stringsOut As CALPOLESTR()
Dim flagsOut As CADWORD()
Dim returnValue As Integer

returnValue = instance.GetSccFiles(itemid, _
    stringsOut, flagsOut)
public virtual int GetSccFiles(
    uint itemid,
    CALPOLESTR[] stringsOut,
    CADWORD[] flagsOut
)
public:
virtual int GetSccFiles(
    unsigned int itemid, 
    array<CALPOLESTR>^ stringsOut, 
    array<CADWORD>^ flagsOut
)
public function GetSccFiles(
    itemid : uint, 
    stringsOut : CALPOLESTR[], 
    flagsOut : CADWORD[]
) : int

Parameters

  • stringsOut
    Type: []

    The set of files associated with the item ID.

  • flagsOut
    Type: []

    The flags associated with each file indicating whether or not the file is a special file.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSccProject2.GetSccFiles(UInt32, [], [])

Remarks

By default this method finds the node corresponding to the itemid and calls [M:Microsoft.VisualStudio.Package.HierarchyNode.GetSccFiles(T:System.Collections.Generic.IList<string> files, T:System.Collections.Generic.IList<T:Microsoft.VisualStudio.Shell.Interop.tagVsSccFilesFlags> flags)]. It is the responsibility of the class derived from HierarchyNode to provide an appropriate implementation of that method.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

GetSccFiles Overload

Microsoft.VisualStudio.Package Namespace