Initializes a new instance of ProvideAutomationObjectAttribute.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
objectName As String _
)
'使用
Dim objectName As String
Dim instance As New ProvideAutomationObjectAttribute(objectName)
public ProvideAutomationObjectAttribute(
string objectName
)
public:
ProvideAutomationObjectAttribute(
String^ objectName
)
public function ProvideAutomationObjectAttribute(
objectName : String
)
Parameters
objectName
Type: System.StringThe name of the automation object.
Remarks
This method throws an ArgumentNullException if objectName is null.
Permissions
- 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
ProvideAutomationObjectAttribute Class