IVsSccProject2::GetSccSpecialFiles Method (UInt32, String^, array<CALPOLESTR>^, array<CADWORD>^)

 

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)

int GetSccSpecialFiles(
	unsigned int itemid,
	String^ pszSccFile,
	array<CALPOLESTR>^ pCaStringsOut,
	array<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: array<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: array<Microsoft.VisualStudio.OLE.Interop::CADWORD>^

[out] Flags whose values are taken from the CADWORD structure.

Return Value

Type: System::Int32

If 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.

Return to top
Show: