HostMemberAttribute Constructor
Initializes a new instance of the HostMemberAttribute class.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
memberName As String _
)
public HostMemberAttribute(
string memberName
)
Parameters
memberName
Type: System.StringThe name of the method or property in the host application's object model. This name will usually be the same as the method or property name in the proxy type.
.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.