MpfUtilities.IsInAutomationFunction, méthode
Cette classe et ses membres sont réservés à un usage interne et ne sont pas destinés à être utilisés dans votre code.
Espace de noms : Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly : Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntaxe
'Déclaration
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
Paramètres
- serviceProvider
Type : System.IServiceProvider
Fournisseur de services.
Valeur de retour
Type : System.Boolean
true si l'objet d'extensibilité exécute une fonction Automation.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal, espace de noms