共用方式為


StyleProperties.ContainStyleProperty 方法

Indicates whether this collection contains a named style property.

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Function ContainStyleProperty ( _
    styleName As String _
) As Boolean
'用途
Dim instance As StyleProperties 
Dim styleName As String 
Dim returnValue As Boolean 

returnValue = instance.ContainStyleProperty(styleName)
public bool ContainStyleProperty(
    string styleName
)
public:
bool ContainStyleProperty(
    String^ styleName
)
member ContainStyleProperty : 
        styleName:string -> bool
public function ContainStyleProperty(
    styleName : String
) : boolean

參數

  • styleName
    型別:System.String
    The name of the style property to check.

傳回值

型別:System.Boolean
True if this collection contains a named style property; otherwise, false.

請參閱

參考

StyleProperties 類別

Microsoft.ReportingServices.ReportRendering 命名空間