Sdílet prostřednictvím


INSPreviewRepresentableActivityItem Interface

Definition

This interface represents the Objective-C protocol NSPreviewRepresentableActivityItem.

[Foundation.Protocol(Name="NSPreviewRepresentableActivityItem", WrapperType=typeof(AppKit.NSPreviewRepresentableActivityItemWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="item", IsProperty=true, IsRequired=true, IsStatic=false, Name="Item", PropertyType=typeof(Foundation.NSObject), Selector="item")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="title", IsProperty=true, IsRequired=false, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="imageProvider", IsProperty=true, IsRequired=false, IsStatic=false, Name="ImageProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="imageProvider")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="iconProvider", IsProperty=true, IsRequired=false, IsStatic=false, Name="IconProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="iconProvider")]
public interface INSPreviewRepresentableActivityItem : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSPreviewRepresentableActivityItem", WrapperType=typeof(AppKit.NSPreviewRepresentableActivityItemWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="item", IsProperty=true, IsRequired=true, IsStatic=false, Name="Item", PropertyType=typeof(Foundation.NSObject), Selector="item")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="title", IsProperty=true, IsRequired=false, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="imageProvider", IsProperty=true, IsRequired=false, IsStatic=false, Name="ImageProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="imageProvider")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="iconProvider", IsProperty=true, IsRequired=false, IsStatic=false, Name="IconProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="iconProvider")>]
type INSPreviewRepresentableActivityItem = 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