ImageWebPart.ShouldSerializeVerticalAlignment 方法

指示是否应保持VerticalAlignment属性。

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

语法

声明
Public Function ShouldSerializeVerticalAlignment As Boolean
用法
Dim instance As ImageWebPart
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeVerticalAlignment()
public bool ShouldSerializeVerticalAlignment()

返回值

类型:System.Boolean
true如果已从其默认值 ; 更改属性值否则为false。

备注

由于VerticalAlignment属性没有简单的默认值提供ShouldSerializeVerticalAlignment方法。此方法指示属性是否已从其默认值进行更改。通常,如果要开发ImageWebPart的设计或开发您自己将合并ImageWebPart的控件,可调用此方法。

另请参阅

引用

ImageWebPart 类

ImageWebPart 成员

Microsoft.SharePoint.WebPartPages 命名空间