ResourceUrlsEditor.Add
Method
type ResourceUrlsEditor interface { // ... omitted for brevity Add( url any, options ...*AddOptions, ) error}Signature
method
AddAdds a displayed URL.
Add( url any, options ...*AddOptions,) errorParameters
urlanyThe URL to add, specified as a string or reference expression.options...*AddOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddOptions argument.
DisplayText *stringThe optional display text to show for the URL.Returns
errorReturns error.
Defined on
This method is defined on the following type: