共用方式為


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)
Available in Sandboxed Solutions: No

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