CompilationUnitManager.TryGetUri(String, Uri) Method

Definition

Returns the URI based on which fileId was constructed via uri.

public static bool TryGetUri (string fileId, out Uri uri);
static member TryGetUri : string * Uri -> bool
Public Shared Function TryGetUri (fileId As String, ByRef uri As Uri) As Boolean

Parameters

fileId
String

A file ID assigned by the compilation unit manager.

uri
Uri

Returns

Boolean

False if fileId is not compatible with an id generated by the compilation unit manager.

Applies to