ExternalResourceLoadContext.GetCallingDocumentModelPath
Description:
Returns a copy of the ModelPath of the document that is requesting the external resource.
Returns a copy of the ModelPath of the document that is requesting the external resource.
public ModelPath GetCallingDocumentModelPath()
ModelPath
A copy of the ModelPath of the document that is requesting the external
resource.
-
The document requesting the external resource does not have a ModelPath, either because it is detached, or because it has not been saved to disk yet.