CompilationUnitManager.TryGetUri(String, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
False if fileId is not compatible with an id generated by the compilation unit manager.