Share via


HostMemberAttribute.BindingFlags Property (2007 System)

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.

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
Public Property BindingFlags As BindingFlags
'Usage
Dim instance As HostMemberAttribute 
Dim value As BindingFlags 

value = instance.BindingFlags

instance.BindingFlags = value
public BindingFlags BindingFlags { get; set; }
public:
property BindingFlags BindingFlags {
    BindingFlags get ();
    void set (BindingFlags value);
}
public function get BindingFlags () : BindingFlags 
public function set BindingFlags (value : BindingFlags)

Property Value

Type: System.Reflection.BindingFlags
One of the enumeration values that controls binding and the way in which the search for members and types is conducted by reflection.

Remarks

When a member of a proxy type is invoked by an add-in, the .NET Framework reads this property and uses the specified BindingFlags value (if any) to invoke the host application object model method or property.

See Also

Reference

HostMemberAttribute Class

HostMemberAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

BindingFlags