共用方式為


IDataScopeService.GetDataScopesFor 方法

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Private Function GetDataScopesFor ( _
    obj As IContainedObject _
) As IEnumerable(Of IDataScope) Implements IDataScopeService.GetDataScopesFor
'用途
Dim instance As DataRegion
Dim obj As IContainedObject
Dim returnValue As IEnumerable(Of IDataScope)

returnValue = CType(instance, IDataScopeService).GetDataScopesFor(obj)
IEnumerable<IDataScope> IDataScopeService.GetDataScopesFor(
    IContainedObject obj
)
private:
virtual IEnumerable<IDataScope^>^ GetDataScopesFor(
    IContainedObject^ obj
) sealed = IDataScopeService::GetDataScopesFor
private abstract GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
private override GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'IDataScope> ) > ) >

實作

IDataScopeService. . :: . .GetDataScopesFor(IContainedObject)