共用方式為


IVsENCRebuildableProjectCfg2.GetCurrentActiveStatementPosition Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣告
Function GetCurrentActiveStatementPosition ( _
    id As UInteger, _
    <OutAttribute> ptsNewPosition As TextSpan() _
) As Integer
'用途
Dim instance As IVsENCRebuildableProjectCfg2
Dim id As UInteger
Dim ptsNewPosition As TextSpan()
Dim returnValue As Integer

returnValue = instance.GetCurrentActiveStatementPosition(id, _
    ptsNewPosition)
int GetCurrentActiveStatementPosition(
    uint id,
    TextSpan[] ptsNewPosition
)
int GetCurrentActiveStatementPosition(
    [InAttribute] unsigned int id, 
    [OutAttribute] array<TextSpan>^ ptsNewPosition
)
abstract GetCurrentActiveStatementPosition : 
        id:uint32 * 
        ptsNewPosition:TextSpan[] byref -> int 
function GetCurrentActiveStatementPosition(
    id : uint, 
    ptsNewPosition : TextSpan[]
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsENCRebuildableProjectCfg2 Interface

IVsENCRebuildableProjectCfg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace