| Visual Basic (Declaration) | |
|---|---|
Public Property ResourceLocator As ResourceLocator | |
| C# | |
|---|---|
public ResourceLocator ResourceLocator {get; set;} | |
| C# | Copy Code |
|---|---|
private void ShowReport() | |
Resolve a ReportDefinition for a subreport referenced in an RDLX file by using the resolver returned by this property. In the case of a subreport, the RDLX Subreport element's ReportName value is used as the resource identifier.
For example, the code below demonstrates how to use the ResourceResolver property to specify a ReportDefinition for a subreport with the value "vendorssub.rdlx" for its ReportName element.