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