WebPartZone.GetEffectiveChromeType 方法

获取的实际或有效当前**PartChromeType()**值WebPart控件,给定该区域的PartChromeType属性和Web 部件页的当前显示模式。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function GetEffectiveChromeType ( _
    part As Part _
) As PartChromeType
用法
Dim instance As WebPartZone
Dim part As Part
Dim returnValue As PartChromeType

returnValue = instance.GetEffectiveChromeType(part)
public override PartChromeType GetEffectiveChromeType(
    Part part
)

参数

返回值

类型:System.Web.UI.WebControls.WebParts.PartChromeType
当前框架所包含的区域的WebPart控件的边框类型。

备注

此重写返回Default如果部件参数是 null 对象。

另请参阅

引用

WebPartZone 类

WebPartZone 成员

Microsoft.SharePoint.WebPartPages 命名空间