Partager via


ProvideAutomationObjectAttribute Constructor

Initializes a new instance of ProvideAutomationObjectAttribute.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Sub New ( _
    objectName As String _
)
'Utilisation
Dim objectName As String

Dim instance As New ProvideAutomationObjectAttribute(objectName)
public ProvideAutomationObjectAttribute(
    string objectName
)
public:
ProvideAutomationObjectAttribute(
    String^ objectName
)
new : 
        objectName:string -> ProvideAutomationObjectAttribute
public function ProvideAutomationObjectAttribute(
    objectName : String
)

Parameters

  • objectName
    Type: System.String
    The name of the automation object.

Remarks

This method throws an ArgumentNullException if objectName is null.

.NET Framework Security

See Also

Reference

ProvideAutomationObjectAttribute Class

ProvideAutomationObjectAttribute Members

Microsoft.VisualStudio.Shell Namespace