WebPartToolPart.ShouldAddProperty method
指定是否應該建立指定的PropertyInfo物件的屬性。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function ShouldAddProperty ( _
pi As PropertyInfo _
) As Boolean
'用途
Dim instance As WebPartToolPart
Dim pi As PropertyInfo
Dim returnValue As Boolean
returnValue = instance.ShouldAddProperty(pi)
public bool ShouldAddProperty(
PropertyInfo pi
)
參數
pi
Type: System.Reflection.PropertyInfoPropertyInfo 物件中。
傳回值
Type: System.Boolean
true如果pi參數所指定的物件加入至屬性。否則, false。