Report.GenerateItemName<T> Method (String, Converter<String, T>)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Creates a name of an item.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Function GenerateItemName(Of T) ( _
candidate As String, _
getItemByName As Converter(Of String, T) _
) As String
'Usage
Dim instance As Report
Dim candidate As String
Dim getItemByName As Converter(Of String, T)
Dim returnValue As String
returnValue = instance.GenerateItemName(candidate, _
getItemByName)
public string GenerateItemName<T>(
string candidate,
Converter<string, T> getItemByName
)
public:
generic<typename T>
String^ GenerateItemName(
String^ candidate,
Converter<String^, T>^ getItemByName
)
member GenerateItemName :
candidate:string *
getItemByName:Converter<string, 'T> -> string
JScript does not support generic types and methods.
Type Parameters
- T
The generic type.
Parameters
- candidate
Type: System.String
The candidate string.
- getItemByName
Type: System.Converter<String, T>
The method that converts the candidate string to a report item.
Return Value
Type: System.String
A created name of an item.