IVsSccProject2.GetSccSpecialFiles Method

This method is called to discover special (hidden files) associated with a given VSITEMID within this hierarchy.

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

Syntax

'Declaration
Function GetSccSpecialFiles ( _
    itemid As UInteger, _
    pszSccFile As String, _
    <OutAttribute> pCaStringsOut As CALPOLESTR(), _
    <OutAttribute> pCaFlagsOut As CADWORD() _
) As Integer
'Usage
Dim instance As IVsSccProject2 
Dim itemid As UInteger 
Dim pszSccFile As String 
Dim pCaStringsOut As CALPOLESTR()
Dim pCaFlagsOut As CADWORD()
Dim returnValue As Integer 

returnValue = instance.GetSccSpecialFiles(itemid, _
    pszSccFile, pCaStringsOut, pCaFlagsOut)
int GetSccSpecialFiles(
    uint itemid,
    string pszSccFile,
    CALPOLESTR[] pCaStringsOut,
    CADWORD[] pCaFlagsOut
)
int GetSccSpecialFiles(
    [InAttribute] unsigned int itemid, 
    [InAttribute] String^ pszSccFile, 
    [OutAttribute] array<CALPOLESTR>^ pCaStringsOut, 
    [OutAttribute] array<CADWORD>^ pCaFlagsOut
)
function GetSccSpecialFiles(
    itemid : uint, 
    pszSccFile : String, 
    pCaStringsOut : CALPOLESTR[], 
    pCaFlagsOut : CADWORD[]
) : int

Parameters

  • itemid
    Type: System.UInt32

    [in] Identifier of the item being queried. Value is taken from the VSITEMIDDWORD.

  • pszSccFile
    Type: System.String

    [in] One of the files associated with the node..

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

HRESULT GetSccSpecialFiles(
   [in] VSITEMID itemid,
   [in] LPCOLESTR pszSccFile,
   [out] CALPOLESTR *pCaStringsOut,
   [out] CADWORD *pCaFlagsOut
);

This method is called to discover any special or hidden files associated with an item in the project hierarchy. It is called when GetSccFiles returns with the SFF_HasSpecialFiles flag set for any of the files associated with the node.

.NET Framework Security

See Also

Reference

IVsSccProject2 Interface

IVsSccProject2 Members

Microsoft.VisualStudio.Shell.Interop Namespace