VersionControlPath.MakeRelative Method (String, String)
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'宣言
Public Shared Function MakeRelative ( _
item As String, _
folder As String _
) As String
public static string MakeRelative(
string item,
string folder
)
public:
static String^ MakeRelative(
String^ item,
String^ folder
)
static member MakeRelative :
item:string *
folder:string -> string
public static function MakeRelative(
item : String,
folder : String
) : String
Parameters
- item
Type: System.String
- folder
Type: System.String
Return Value
Type: System.String
.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.