CoverageDS.FindSourceFileId Method
Finds and returns a source file ID by using the provided file name. This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Coverage.Analysis
Assembly: Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)
Syntax
'Declaration
Public Function FindSourceFileId ( _
fileName As String _
) As UInteger
public uint FindSourceFileId(
string fileName
)
public:
unsigned int FindSourceFileId(
String^ fileName
)
member FindSourceFileId :
fileName:string -> uint32
public function FindSourceFileId(
fileName : String
) : uint
Parameters
- fileName
Type: System.String
The file name to search for in the CoverageDSPriv.SourceFileNamesDataTable.
Return Value
Type: System.UInt32
The source file name ID as recorded in the CoverageDSPriv.SourceFileNamesDataTable, or nulla null reference (Nothing in Visual Basic) if not found.
.NET Framework Security
- 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.