UriTemplateEquivalenceComparer UriTemplateEquivalenceComparer UriTemplateEquivalenceComparer Constructor

定義

UriTemplateEquivalenceComparer クラスの新しいインスタンスを初期化します。Initializes a new instance of the UriTemplateEquivalenceComparer class.

public:
 UriTemplateEquivalenceComparer();
public UriTemplateEquivalenceComparer ();
Public Sub New ()

このクラスのコンストラクターを呼び出す方法を次のコード例に示します。The following example shows how to call the constructor for this class.

// Create a dictionary and use UriTemplateEquivalenceComparer as the comparer
Dictionary<UriTemplate, object> templates = new Dictionary<UriTemplate, object>(new UriTemplateEquivalenceComparer());
'Create a dictionary and use UriTemplateEquivalenceComparer as the comparer
Dim templates As Dictionary(Of UriTemplate, Object) = New Dictionary(Of UriTemplate, Object)(New UriTemplateEquivalenceComparer())

適用対象