Поделиться через


LanguageSpecificContent class

A container control that renders content conditionally based on the language code of the current Web site (SPWeb).

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.LanguageSpecificContent

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class LanguageSpecificContent _
    Inherits SPControl _
    Implements INamingContainer
'Usage
Dim instance As LanguageSpecificContent
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class LanguageSpecificContent : SPControl, 
    INamingContainer

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

LanguageSpecificContent members

Microsoft.SharePoint.WebControls namespace