Report.GenerateItemName 方法 (String, String, Predicate<String>)
此 API 支持 基础结构,但不能通过代码直接使用。
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Public Function GenerateItemName ( _
candidate As String, _
baseName As String, _
itemExists As Predicate(Of String) _
) As String
用法
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
参数
- candidate
类型:System.String
The candidate string.
- baseName
类型:System.String
The item type.
- itemExists
类型:System.Predicate<String>
The method that determines whether the item exists.
返回值
类型:System.String
A string value.