IFilterValues.ParameterName property
取得字串,表示參數名稱。這通常是由一般使用者選取在篩選器WebPart連線設定期間的消費者參數相同的名稱。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
ReadOnly Property ParameterName As String
Get
'用途
Dim instance As IFilterValues
Dim value As String
value = instance.ParameterName
string ParameterName { get; }
Property value
Type: System.String
字串,代表消費者和提供者之間傳遞的參數名稱。
備註
Parameter物件不需要有一個名稱。不過,資料來源控制項可以使用參數名稱符合使用 SQL Server 的查詢參數集合中的物件,或符合與業務方法簽章中的某個參數物件。WebControl可以在集合中使用參數物件的名稱來符合篩選的運算式中的預留位置。在某些情況下,不使用的名稱和參數物件加入至集合的順序是很重要。
請參閱
參照
Microsoft.SharePoint.WebPartPages namespace
WebPartPages