次の方法で共有


HostMemberAttribute Class

Definition

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

public ref class HostMemberAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class HostMemberAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type HostMemberAttribute = class
    inherit Attribute
Public NotInheritable Class HostMemberAttribute
Inherits Attribute
Inheritance
HostMemberAttribute
Attributes

Constructors

HostMemberAttribute(String)

Initializes a new instance of the HostMemberAttribute class.

Properties

BindingFlags

Gets or sets a BindingFlags enumeration value that controls binding and the way in which the search for members and types is conducted by reflection.

MemberName

Gets the name of the member in the host application that the member in the proxy represents.

Applies to