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

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