共用方式為


SPWebPartConnection.ConsumerID property

取得或設定連接的消費者 Web 組件 ID。

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

Syntax

'宣告
Public Property ConsumerID As String
    Get
    Set
'用途
Dim instance As SPWebPartConnection
Dim value As String

value = instance.ConsumerID

instance.ConsumerID = value
public string ConsumerID { get; set; }

Property value

Type: System.String

請參閱

參照

SPWebPartConnection class

SPWebPartConnection members

Microsoft.SharePoint.WebPartPages namespace