Report.GenerateItemName Method (String, String, Predicate<String>)
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 ( _
candidate As String, _
baseName As String, _
itemExists As Predicate(Of String) _
) As String
'Usage
Dim instance As Report
Dim candidate As String
Dim baseName As String
Dim itemExists As Predicate(Of String)
Dim returnValue As String
returnValue = instance.GenerateItemName(candidate, _
baseName, itemExists)
public string GenerateItemName(
string candidate,
string baseName,
Predicate<string> itemExists
)
public:
String^ GenerateItemName(
String^ candidate,
String^ baseName,
Predicate<String^>^ itemExists
)
member GenerateItemName :
candidate:string *
baseName:string *
itemExists:Predicate<string> -> string
public function GenerateItemName(
candidate : String,
baseName : String,
itemExists : Predicate<String>
) : String
Parameters
- candidate
Type: System.String
The candidate string.
- baseName
Type: System.String
The item type.
- itemExists
Type: System.Predicate<String>
The method that determines whether the item exists.
Return Value
Type: System.String
A created name of an item.