CompilationUnitManager.GetFileId(Uri) Method

Definition

Converts a URI into the file ID used during compilation if the URI is an absolute file URI.

public static string GetFileId (Uri uri);
static member GetFileId : Uri -> string
Public Shared Function GetFileId (uri As Uri) As String

Parameters

uri
Uri

Returns

String

Exceptions

uri is not an absolute file URI.

Applies to