Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSharingServiceItemsMBS class.

NSSharingServiceItemsMBS.AddAttributedString(AttributedString as NSAttributedStringMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds one attributed string to the collection.

See also:

NSSharingServiceItemsMBS.AddAttributedString(AttributedStrings() as NSAttributedStringMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds attributed strings to the collection.

See also:

NSSharingServiceItemsMBS.AddFile(file as folderitem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds one file to the collection.

NSSharingServiceItemsMBS.AddFiles(files() as folderitem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds an array of files to the collection.

NSSharingServiceItemsMBS.AddImage(image as NSImageMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds one image to the collection.

NSSharingServiceItemsMBS.AddImages(images() as NSImageMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds an array of images to the collection.

NSSharingServiceItemsMBS.AddText(text as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds one text to the collection.

See also:

NSSharingServiceItemsMBS.AddText(texts() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds an array of texts to the collection.

See also:

NSSharingServiceItemsMBS.AddURL(URL as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Add one URL to the collection.

See also:

NSSharingServiceItemsMBS.AddURL(URLs() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds an array of URLs to the collection.

See also:

NSSharingServiceItemsMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor.

NSSharingServiceItemsMBS.count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the number of items in this collection.

NSSharingServiceItemsMBS.Images as NSImageMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns all images in the collection.

NSSharingServiceItemsMBS.objectAtIndex(index as Integer) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns object at the given index.

Index is from 0 to count-1.
Returns URLs and files as string with URL.

NSSharingServiceItemsMBS.Texts as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns array with all texts in this collection.

NSSharingServiceItemsMBS.URLs as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns array with all URLs.

As files are also handled as URLs, the array contains also files in the collections as URLs.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...