Bewerken

Share via


TryParseUriCallback Delegate

Definition

A delegate type that is used by the SyndicationFeedFormatter class for creating Uri instances from string input.

public delegate bool TryParseUriCallback(XmlUriData data, [Runtime::InteropServices::Out] Uri ^ % uri);
public delegate bool TryParseUriCallback(XmlUriData data, out Uri uri);
type TryParseUriCallback = delegate of XmlUriData * Uri -> bool
Public Delegate Function TryParseUriCallback(data As XmlUriData, ByRef uri As Uri) As Boolean 

Parameters

data
XmlUriData

The raw string input to parse into a Uri object.

uri
Uri

The resulting Uri representation of the input string.

Return Value

A boolean value indicating whether or not the input string was successfully parsed.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to