共用方式為


ErrorHandler.CallWithCOMConvention Method (Func)

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

Syntax

'宣告
Public Shared Function CallWithCOMConvention ( _
    method As Func _
) As Integer
'用途
Dim method As Func
Dim returnValue As Integer

returnValue = ErrorHandler.CallWithCOMConvention(method)
public static int CallWithCOMConvention(
    Func method
)
public:
static int CallWithCOMConvention(
    Func^ method
)
static member CallWithCOMConvention : 
        method:Func -> int 
public static function CallWithCOMConvention(
    method : Func
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ErrorHandler Class

ErrorHandler Members

CallWithCOMConvention Overload

Microsoft.VisualStudio Namespace