INSSharingServiceDelegate Interface

Definition

This interface represents the Objective-C protocol NSSharingServiceDelegate.

[Foundation.Protocol(Name="NSSharingServiceDelegate", WrapperType=typeof(AppKit.NSSharingServiceDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShareItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]) }, Selector="sharingService:willShareItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToShareItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]), typeof(Foundation.NSError) }, Selector="sharingService:didFailToShareItems:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShareItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]) }, Selector="sharingService:didShareItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SourceFrameOnScreenForShareItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(AppKit.INSPasteboardWriting) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="sharingService:sourceFrameOnScreenForShareItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransitionImageForShareItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(AppKit.INSPasteboardWriting), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(AppKit.NSImage), Selector="sharingService:transitionImageForShareItem:contentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SourceWindowForShareItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]), typeof(AppKit.NSSharingContentScope) }, ReturnType=typeof(AppKit.NSWindow), Selector="sharingService:sourceWindowForShareItems:sharingContentScope:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreateAnchoringView", ParameterByRef=new System.Boolean[] { false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(CoreGraphics.CGRect), typeof(AppKit.NSRectEdge) }, ReturnType=typeof(AppKit.NSView), Selector="anchoringViewForSharingService:showRelativeToRect:preferredEdge:")]
public interface INSSharingServiceDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSSharingServiceDelegate", WrapperType=typeof(AppKit.NSSharingServiceDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShareItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]) }, Selector="sharingService:willShareItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToShareItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]), typeof(Foundation.NSError) }, Selector="sharingService:didFailToShareItems:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShareItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]) }, Selector="sharingService:didShareItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SourceFrameOnScreenForShareItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(AppKit.INSPasteboardWriting) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="sharingService:sourceFrameOnScreenForShareItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransitionImageForShareItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(AppKit.INSPasteboardWriting), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(AppKit.NSImage), Selector="sharingService:transitionImageForShareItem:contentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SourceWindowForShareItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(Foundation.NSObject[]), typeof(AppKit.NSSharingContentScope) }, ReturnType=typeof(AppKit.NSWindow), Selector="sharingService:sourceWindowForShareItems:sharingContentScope:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreateAnchoringView", ParameterByRef=new System.Boolean[] { false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSSharingService), typeof(CoreGraphics.CGRect), typeof(AppKit.NSRectEdge) }, ReturnType=typeof(AppKit.NSView), Selector="anchoringViewForSharingService:showRelativeToRect:preferredEdge:")>]
type INSSharingServiceDelegate = 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