HostMemberAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |