MpfUtilities.IsInAutomationFunction Method
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function IsInAutomationFunction ( _
serviceProvider As IServiceProvider _
) As Boolean
'Usage
Dim serviceProvider As IServiceProvider
Dim returnValue As Boolean
returnValue = MpfUtilities.IsInAutomationFunction(serviceProvider)
public static bool IsInAutomationFunction(
IServiceProvider serviceProvider
)
public:
static bool IsInAutomationFunction(
IServiceProvider^ serviceProvider
)
public static function IsInAutomationFunction(
serviceProvider : IServiceProvider
) : boolean
static member IsInAutomationFunction :
serviceProvider:IServiceProvider -> bool
Parameters
- serviceProvider
Type: System.IServiceProvider
Return Value
Type: System.Boolean
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace