共用方式為


MpfUtilities.IsInAutomationFunction 方法

這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Public Shared Function IsInAutomationFunction ( _
    serviceProvider As IServiceProvider _
) As Boolean
public static bool IsInAutomationFunction(
    IServiceProvider serviceProvider
)
public:
static bool IsInAutomationFunction(
    IServiceProvider^ serviceProvider
)
static member IsInAutomationFunction : 
        serviceProvider:IServiceProvider -> bool 
public static function IsInAutomationFunction(
    serviceProvider : IServiceProvider
) : boolean

參數

傳回值

型別:System.Boolean
如果擴充性物件執行自動化函式,則為 true。

.NET Framework 安全性

請參閱

參考

MpfUtilities 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空間