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 GetSccSpecialFiles ( _
itemid As UInteger, _
sccFile As String, _
stringsOut As CALPOLESTR(), _
flagsOut As CADWORD() _
) As Integer
'使用
Dim instance As ProjectNode
Dim itemid As UInteger
Dim sccFile As String
Dim stringsOut As CALPOLESTR()
Dim flagsOut As CADWORD()
Dim returnValue As Integer
returnValue = instance.GetSccSpecialFiles(itemid, _
sccFile, stringsOut, flagsOut)
public virtual int GetSccSpecialFiles(
uint itemid,
string sccFile,
CALPOLESTR[] stringsOut,
CADWORD[] flagsOut
)
public:
virtual int GetSccSpecialFiles(
unsigned int itemid,
String^ sccFile,
array<CALPOLESTR>^ stringsOut,
array<CADWORD>^ flagsOut
)
public function GetSccSpecialFiles(
itemid : uint,
sccFile : String,
stringsOut : CALPOLESTR[],
flagsOut : CADWORD[]
) : int
Parameters
itemid
Type: System.UInt32The item ID.
sccFile
Type: System.StringOne of the files associated with the node.
stringsOut
Type: []The names of the special files.
flagsOut
Type: []The flags associated with the files.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSccProject2.GetSccSpecialFiles(UInt32, String, [], [])
Remarks
By default this method finds the node corresponding to the itemid and calls [M:Microsoft.VisualStudio.Package.HierarchyNode.GetSpecialSccFilesT: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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.