Share via


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)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, 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.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[ObsoleteAttribute("Use IRuntimeFilter2 instead.")]
ArrayList InitializeStrings(
    CultureInfo cultureInfo
)

Parameters

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.

See also

Reference

IRuntimeFilter interface

IRuntimeFilter members

Microsoft.SharePoint.WebPartPages namespace