共用方式為


ISymbolReader.GetNextMethod 方法

傳回值,這個值表示是否從所提供的程式碼區塊清單中傳回下一個方法。 這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Coverage.Analysis
組件:  Microsoft.VisualStudio.Coverage.Analysis (在 Microsoft.VisualStudio.Coverage.Analysis.dll 中)

語法

'宣告
Function GetNextMethod ( _
    <OutAttribute> ByRef methodId As UInteger, _
    <OutAttribute> ByRef methodName As String, _
    <OutAttribute> ByRef undecoratedMethodName As String, _
    <OutAttribute> ByRef className As String, _
    <OutAttribute> ByRef namespaceName As String, _
    lines As IList(Of BlockLineRange) _
) As Boolean
bool GetNextMethod(
    out uint methodId,
    out string methodName,
    out string undecoratedMethodName,
    out string className,
    out string namespaceName,
    IList<BlockLineRange> lines
)
bool GetNextMethod(
    [OutAttribute] unsigned int% methodId, 
    [OutAttribute] String^% methodName, 
    [OutAttribute] String^% undecoratedMethodName, 
    [OutAttribute] String^% className, 
    [OutAttribute] String^% namespaceName, 
    IList<BlockLineRange>^ lines
)
abstract GetNextMethod : 
        methodId:uint32 byref * 
        methodName:string byref * 
        undecoratedMethodName:string byref * 
        className:string byref * 
        namespaceName:string byref * 
        lines:IList<BlockLineRange> -> bool
function GetNextMethod(
    methodId : uint, 
    methodName : String, 
    undecoratedMethodName : String, 
    className : String, 
    namespaceName : String, 
    lines : IList<BlockLineRange>
) : boolean

參數

  • methodId
    類型:UInt32%

    (輸出) 方法的 ID。

  • methodName
    類型:String%

    (輸出) 方法名稱。

  • undecoratedMethodName
    類型:String%

    (輸出) 未裝飾方法名稱。

  • className
    類型:String%

    (輸出) 方法的類別名稱。

  • namespaceName
    類型:String%

    (輸出) 方法的命名空間名稱。

傳回值

類型:Boolean
如果成功傳回方法,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

ISymbolReader 介面

Microsoft.VisualStudio.Coverage.Analysis 命名空間

BlockLineRange