Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function GetAutomationObject ( _
propName As String, _
<OutAttribute> ByRef auto As Object _
) As Integer Implements IVsPackage.GetAutomationObject
'使用
Dim instance As Package
Dim propName As String
Dim auto As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsPackage).GetAutomationObject(propName, _
auto)
int IVsPackage.GetAutomationObject(
string propName,
out Object auto
)
private:
virtual int GetAutomationObject(
String^ propName,
[OutAttribute] Object^% auto
) sealed = IVsPackage::GetAutomationObject
JScript does not support explicit interface implementations.
Parameters
- propName
Type: System.String
- auto
Type: System.Object%
Return Value
Type: System.Int32
Implements
IVsPackage.GetAutomationObject(String, Object%)
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.