public GetRelativePath ( string fullPath ) : string | ||
fullPath | string | The full path to the file. |
리턴 | string |
public string GetRelativePath(string fullPath)
{
Debug.Assert(!string.IsNullOrEmpty(fullPath));
Debug.Assert(fullPath.StartsWith(RootPath, StringComparison.OrdinalIgnoreCase));
return fullPath.Substring(RootPath.Length, fullPath.Length - RootPath.Length);
}