[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Versucht den übergebenen Pfad relativ zur Benutzermodulbibliothek oder zur Systemmodulbibliothek zu machen.

Namespace: DynamicNode.Core.Nodes
Assembly: DNCore (in DNCore.dll) Version: 1.4.4679.19807 (1.4.0.0)

Syntax

C#
public static string TryMakePathRelative(
	string filePath,
	IConfiguration config
)
Visual Basic
Public Shared Function TryMakePathRelative ( _
	filePath As String, _
	config As IConfiguration _
) As String
F#
static member TryMakePathRelative : 
        filePath:string * 
        config:IConfiguration -> string 

Parameters

filePath
Type: System..::..String
Der Pfad zu einer Projektdatei.
config
Type: DynamicNode.Core..::..IConfiguration
Die Laufzeitumgebungskonfiguration.

Return Value

Der evtl. relativierte Pfad.

Exceptions

ExceptionCondition
System..::..ArgumentNullException Wird geworfen, wenn für confignull übergeben wird.

See Also