IRuntimeFilter.InitializeStrings Method
NOTE: This API is now obsolete.
Initializes string constants based on the value of the cultureInfo parameter.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<ObsoleteAttribute("Use IRuntimeFilter2 instead.")> _
Function InitializeStrings ( _
cultureInfo As CultureInfo _
) As ArrayList
'Usage
Dim instance As IRuntimeFilter
Dim cultureInfo As CultureInfo
Dim returnValue As ArrayList
returnValue = instance.InitializeStrings(cultureInfo)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[ObsoleteAttribute("Use IRuntimeFilter2 instead.")]
ArrayList InitializeStrings(
CultureInfo cultureInfo
)
Parameters
cultureInfo
Type: System.Globalization.CultureInfoUsed to specify culturally-sensitive (locale-related) data like dates and times, if any.
Return Value
Type: System.Collections.ArrayList
System.Collections.ArrayList An ArrayList consisting of the following constants (in this order): IsIncludedFilterFriendlyName, IsIncludedFilterTooltip, IsIncludedFilterFriendlyNameButtonLabel, IsIncludedBuilderDialog.
Remarks
The InitializeStrings method is called when a page culture different from the default is encountered. Web Part pages will maintain a cache of all the queried cultures, and this method will only be called n number of times for n languages.