ReportingGallery.AddGalleryItem Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function AddGalleryItem ( _
name As String, _
category As String, _
subcategory As String, _
locale As CultureInfo, _
queryAssembly As String, _
queryClass As String, _
defaultQuery As Hashtable, _
queryBuilder As String, _
injectionAssembly As String, _
injectionClass As String, _
defaultInjectionParameters As Hashtable, _
iconUrl As String, _
httpContentType As String, _
description As String, _
templateName As String, _
template As Byte() _
) As Report
'Usage
Dim instance As ReportingGallery
Dim name As String
Dim category As String
Dim subcategory As String
Dim locale As CultureInfo
Dim queryAssembly As String
Dim queryClass As String
Dim defaultQuery As Hashtable
Dim queryBuilder As String
Dim injectionAssembly As String
Dim injectionClass As String
Dim defaultInjectionParameters As Hashtable
Dim iconUrl As String
Dim httpContentType As String
Dim description As String
Dim templateName As String
Dim template As Byte()
Dim returnValue As Report
returnValue = instance.AddGalleryItem(name, _
category, subcategory, locale, queryAssembly, _
queryClass, defaultQuery, queryBuilder, _
injectionAssembly, injectionClass, _
defaultInjectionParameters, iconUrl, _
httpContentType, description, templateName, _
template)
public Report AddGalleryItem(
string name,
string category,
string subcategory,
CultureInfo locale,
string queryAssembly,
string queryClass,
Hashtable defaultQuery,
string queryBuilder,
string injectionAssembly,
string injectionClass,
Hashtable defaultInjectionParameters,
string iconUrl,
string httpContentType,
string description,
string templateName,
byte[] template
)
Parameters
- name
Type: System.String
- category
Type: System.String
- subcategory
Type: System.String
- locale
Type: System.Globalization.CultureInfo
- queryAssembly
Type: System.String
- queryClass
Type: System.String
- defaultQuery
Type: System.Collections.Hashtable
- queryBuilder
Type: System.String
- injectionAssembly
Type: System.String
- injectionClass
Type: System.String
- defaultInjectionParameters
Type: System.Collections.Hashtable
- iconUrl
Type: System.String
- httpContentType
Type: System.String
- description
Type: System.String
- templateName
Type: System.String
- template
Type: []
Return Value
Type: Microsoft.Office.RecordsManagement.Reporting.Report