Share via


HostMemberAttribute.BindingFlags Property

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 (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Property BindingFlags As BindingFlags
public BindingFlags BindingFlags { get; set; }

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.

.NET Framework Security

See Also

Reference

HostMemberAttribute Class

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

BindingFlags