Поделиться через


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
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
)
abstract GetSccSpecialFiles : 
        itemid:uint32 * 
        pszSccFile:string * 
        pCaStringsOut:CALPOLESTR[] byref * 
        pCaFlagsOut:CADWORD[] byref -> int 
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 VSITEMID DWORD.
  • 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

Microsoft.VisualStudio.Shell.Interop Namespace