Metodo Report.GenerateItemName<T> (String, Converter<String, T>)
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Creates a name of an item.
Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Sintassi
'Dichiarazione
Public Function GenerateItemName(Of T) ( _
candidate As String, _
getItemByName As Converter(Of String, T) _
) As String
'Utilizzo
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 non supporta i metodi e i tipi generici.
Parametri di tipo
- T
The generic type.
Parametri
- candidate
Tipo: System.String
The candidate string.
- getItemByName
Tipo: System.Converter<String, T>
The method that converts the candidate string to a report item.
Valore restituito
Tipo: System.String
A created name of an item.