共用方式為


IVsBufferExtraFiles.GetQueryEditFilesDocuments Method

Gets a list of files to process.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function GetQueryEditFilesDocuments ( _
    pBuffer As IVsTextBuffer, _
    <OutAttribute> ByRef bstrMkDocuments As String _
) As Integer
int GetQueryEditFilesDocuments(
    IVsTextBuffer pBuffer,
    out string bstrMkDocuments
)
int GetQueryEditFilesDocuments(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [OutAttribute] String^% bstrMkDocuments
)
abstract GetQueryEditFilesDocuments : 
        pBuffer:IVsTextBuffer * 
        bstrMkDocuments:string byref -> int 
function GetQueryEditFilesDocuments(
    pBuffer : IVsTextBuffer, 
    bstrMkDocuments : String
) : int

Parameters

  • bstrMkDocuments
    Type: System.String%
    [out] A list of files to process (which should include the current file). Separate files in the list with a semi-colon (;).

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsBufferExtraFiles::GetQueryEditFilesDocuments(
   [in] IVsTextBuffer *pBuffer,   [out] const LPCOLESTR *rgpszMkDocuments
);

.NET Framework Security

See Also

Reference

IVsBufferExtraFiles Interface

Microsoft.VisualStudio.TextManager.Interop Namespace