共用方式為


WebPartZone.Orientation property

NOTE: This API is now obsolete.

取得或設定哪一個方向 Web 組件會放在區域中。

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

Syntax

'宣告
<ObsoleteAttribute("Use LayoutOrientation instead.")> _
Public Property Orientation As Orientation
    Get
    Set
'用途
Dim instance As WebPartZone
Dim value As Orientation

value = instance.Orientation

instance.Orientation = value
[ObsoleteAttribute("Use LayoutOrientation instead.")]
public Orientation Orientation { get; set; }

Property value

Type: Microsoft.SharePoint.WebPartPages.Orientation
Orientation 列舉型別。

請參閱

參照

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace