VeriStand .NET API Reference

Utilities.StripPath Method (String, String)

Strips the last component from the specified path and returns both the component and the stripped path, without the component.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Shared Function StripPath ( _
	path As String, _
	<OutAttribute> ByRef relative As String _
) As String
C#
public static string StripPath(
	string path,
	out string relative
)
Visual C++
public:
static String^ StripPath(
	String^ path, 
	[OutAttribute] String^% relative
)

Parameters

path
Type: System.String
The path to strip.
relative
Type: System.String %
The stripped path, without the component.

Return Value

The last component of path.

See Also