AggregateCacheDependency.GetUniqueID メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > AggregateCacheDependency.GetUniqueID メソッドの意味・解説 

AggregateCacheDependency.GetUniqueID メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

AggregateCacheDependency オブジェクト一意識別子取得します

名前空間: System.Web.Caching
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Overrides Function
 GetUniqueID As String
Dim instance As AggregateCacheDependency
Dim returnValue As String

returnValue = instance.GetUniqueID
public override string GetUniqueID ()
public String GetUniqueID ()

戻り値
AggregateCacheDependency オブジェクト一意識別子関連付けられている依存関係オブジェクトいずれかに一意識別子ない場合、GetUniqueId メソッドnull 参照 (Visual Basic では Nothing) を返します

解説解説
使用例使用例

GetUniqueID メソッド使用してAggregateCacheDependency クラス (aggDep) のインスタンス識別子作成し設定され識別子表示するコード例次に示します

' Create two CacheDependency objects, one to a
' text file and the other to an XML file. 
' Create a CacheDependency array with these 
' two objects as items in the array.
 txtDep = New CacheDependency(Server.MapPath("Storage.txt"))
 xmlDep = New CacheDependency(Server.MapPath("authors.xml"))
 Dim DepArray() As CacheDependency = {txtDep,
 xmlDep}

 ' Create an AggregateCacheDependency object and 
 ' use the Add method to add the array to it.   
 aggDep = New AggregateCacheDependency()
 aggDep.Add(DepArray)
    
 ' Call the GetUniqueId method to generate
 ' an ID for each dependency in the array.
 msg1.Text = aggDep.GetUniqueId()
 
 ' Add the new data set to the cache with 
 ' dependencies on both files in the array.
 Cache.Insert("XMLDataSet", Source, aggDep)
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
AggregateCacheDependency クラス
AggregateCacheDependency メンバ
System.Web.Caching 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からAggregateCacheDependency.GetUniqueID メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からAggregateCacheDependency.GetUniqueID メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からAggregateCacheDependency.GetUniqueID メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

AggregateCacheDependency.GetUniqueID メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



AggregateCacheDependency.GetUniqueID メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS