IVsSccProject2.GetSccSpecialFiles Method (UInt32, String, CALPOLESTR[], CADWORD[])
This method is called to discover special (hidden files) associated with a given VSITEMID within this hierarchy.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetSccSpecialFiles( uint itemid, string pszSccFile, CALPOLESTR[] pCaStringsOut, CADWORD[] pCaFlagsOut )
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..
- pCaStringsOut
-
Type:
Microsoft.VisualStudio.OLE.Interop.CALPOLESTR[]
[out] Special files associated with the file indicated by the pszSccFile value. These are returned in a CALPOLESTR array.
- pCaFlagsOut
-
Type:
Microsoft.VisualStudio.OLE.Interop.CADWORD[]
[out] Flags whose values are taken from the CADWORD structure.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.