Udostępnij za pośrednictwem


HostMemberAttribute Class (2007 System)

Sets the way that methods and properties in the proxy are bound to the corresponding members in the host application's object model.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class HostMemberAttribute _
    Inherits Attribute
'Usage
Dim instance As HostMemberAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class HostMemberAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = false)]
public ref class HostMemberAttribute sealed : public Attribute
public final class HostMemberAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Tools.Applications.Runtime.HostMemberAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

HostMemberAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace