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
'Declaration
Function VsGetOpenFileName ( _
ByRef pOPENFILENAMEA As UInteger, _
dwHelpTopic As Integer _
) As Integer
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
- pOPENFILENAMEA
Type: System.UInt32%
[in]
- dwHelpTopic
Type: System.Int32
[in]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.