IVsCodeShareHandler.VsGetOpenFileName Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Method on internal interface. Do not use.

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

Syntax

‘선언
Function VsGetOpenFileName ( _
    ByRef pOPENFILENAMEA As UInteger, _
    dwHelpTopic As Integer _
) As Integer
‘사용 방법
Dim instance As IVsCodeShareHandler
Dim pOPENFILENAMEA As UInteger
Dim dwHelpTopic As Integer
Dim returnValue As Integer

returnValue = instance.VsGetOpenFileName(pOPENFILENAMEA, _
    dwHelpTopic)
int VsGetOpenFileName(
    ref uint pOPENFILENAMEA,
    int dwHelpTopic
)
int VsGetOpenFileName(
    [InAttribute] unsigned int% pOPENFILENAMEA, 
    [InAttribute] int dwHelpTopic
)
abstract VsGetOpenFileName : 
        pOPENFILENAMEA:uint32 byref * 
        dwHelpTopic:int -> int 
function VsGetOpenFileName(
    pOPENFILENAMEA : uint, 
    dwHelpTopic : int
) : int

Parameters

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 vsshell.idl:

HRESULT IVsCodeShareHandler::VsGetOpenFileName(
   [in] DWORD* pOPENFILENAMEA, 
   [in] LONG dwHelpTopic
);

.NET Framework Security

See Also

Reference

IVsCodeShareHandler Interface

IVsCodeShareHandler Members

Microsoft.VisualStudio.Shell.Interop Namespace