共用方式為


ProvideAutomationObjectAttribute(String) Constructor

Definition

Initializes a new instance of ProvideAutomationObjectAttribute.

public:
 ProvideAutomationObjectAttribute(System::String ^ objectName);
public:
 ProvideAutomationObjectAttribute(Platform::String ^ objectName);
 ProvideAutomationObjectAttribute(std::wstring const & objectName);
public ProvideAutomationObjectAttribute (string objectName);
new Microsoft.VisualStudio.Shell.ProvideAutomationObjectAttribute : string -> Microsoft.VisualStudio.Shell.ProvideAutomationObjectAttribute
Public Sub New (objectName As String)

Parameters

objectName
String

The name of the automation object.

Remarks

This method throws an ArgumentNullException if objectName is null.

Applies to