共用方式為


IVsProjectFactory2.GetAsynchOpenProjectType Method

Returns the asynchronous open type that the project supports.

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

Syntax

'宣告
Function GetAsynchOpenProjectType ( _
    <OutAttribute> ByRef pType As UInteger _
) As Integer
'用途
Dim instance As IVsProjectFactory2
Dim pType As UInteger
Dim returnValue As Integer

returnValue = instance.GetAsynchOpenProjectType(pType)
int GetAsynchOpenProjectType(
    out uint pType
)
int GetAsynchOpenProjectType(
    [OutAttribute] unsigned int% pType
)
abstract GetAsynchOpenProjectType : 
        pType:uint32 byref -> int 
function GetAsynchOpenProjectType(
    pType : uint
) : 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 vsshell80.idl:

[C++]

HRESULT IVsProjectFactory2::GetAsynchOpenProjectType();

.NET Framework Security

See Also

Reference

IVsProjectFactory2 Interface

IVsProjectFactory2 Members

Microsoft.VisualStudio.Shell.Interop Namespace