Share via


INSComboBoxDataSource Interface

Definition

This interface represents the Objective-C protocol NSComboBoxDataSource.

[Foundation.Protocol(Name="NSComboBoxDataSource", WrapperType=typeof(AppKit.NSComboBoxDataSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ObjectValueForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.IntPtr) }, ReturnType=typeof(Foundation.NSObject), Selector="comboBox:objectValueForItemAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemCount", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox) }, ReturnType=typeof(System.IntPtr), Selector="numberOfItemsInComboBox:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CompletedString", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.String) }, ReturnType=typeof(System.String), Selector="comboBox:completedString:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="IndexOfItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.String) }, ReturnType=typeof(System.IntPtr), Selector="comboBox:indexOfItemWithStringValue:")]
public interface INSComboBoxDataSource : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSComboBoxDataSource", WrapperType=typeof(AppKit.NSComboBoxDataSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ObjectValueForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.IntPtr) }, ReturnType=typeof(Foundation.NSObject), Selector="comboBox:objectValueForItemAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemCount", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox) }, ReturnType=typeof(System.IntPtr), Selector="numberOfItemsInComboBox:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CompletedString", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.String) }, ReturnType=typeof(System.String), Selector="comboBox:completedString:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="IndexOfItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSComboBox), typeof(System.String) }, ReturnType=typeof(System.IntPtr), Selector="comboBox:indexOfItemWithStringValue:")>]
type INSComboBoxDataSource = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to