Udostępnij za pośrednictwem


DkmSourceLinkInfo.Create(String, String) Method

Definition

Create a new DkmSourceLinkInfo object instance.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmSourceLinkInfo ^ Create(System::String ^ Url, System::String ^ RelativeFilePath);
public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmSourceLinkInfo ^ Create(Platform::String ^ Url, Platform::String ^ RelativeFilePath);
 static Microsoft::VisualStudio::Debugger::Symbols::DkmSourceLinkInfo Create(std::wstring const & Url, std::wstring const & RelativeFilePath);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmSourceLinkInfo Create (string Url, string RelativeFilePath);
static member Create : string * string -> Microsoft.VisualStudio.Debugger.Symbols.DkmSourceLinkInfo
Public Shared Function Create (Url As String, RelativeFilePath As String) As DkmSourceLinkInfo

Parameters

Url
String

[In] A URL where the source file for this Source Link query can be retrieved using an HTTP GET request.

RelativeFilePath
String

[In] A relative file path for the Source Link entry. For example, if the SourceLink map contains 'C:\foo\*' and this maps to 'C:\foo\bar\baz.cs', the RelativeFilePath is 'bar\baz.cs'. For absolute SourceLink mappings, RelativeFilePath will simply be the name of the file.

Returns

[Out] Result of this method call.

Applies to