次の方法で共有


WebPartLoc クラス (Microsoft.SharePoint.Portal.WebControls)

このクラスおよびそのメンバは内部使用のために予約されており、ユーザー コード内で使用することを意図したものではありません。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:sharepoint:portal:webpartbase")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class WebPartLoc
    Inherits WebPart
    Implements IDesignTimeHtmlProvider
'使用
Dim instance As WebPartLoc
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:sharepoint:portal:webpartbase")] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class WebPartLoc : WebPart, IDesignTimeHtmlProvider

継承階層

System.Object
   System.Web.UI.Control
     System.Web.UI.WebControls.WebControl
       System.Web.UI.WebControls.Panel
         System.Web.UI.WebControls.WebParts.Part
           System.Web.UI.WebControls.WebParts.WebPart
             Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.Portal.WebControls.WebPartLoc
                 派生クラス

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

WebPartLoc メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間