次の方法で共有


OutputCacheAttribute.Location プロパティ

キャッシュを適用できる場所を取得します。

名前空間: System.ServiceModel.DomainServices.Server
アセンブリ: System.ServiceModel.DomainServices.Server (system.servicemodel.domainservices.server.dll 内)

使用方法

'使用
Dim instance As OutputCacheAttribute
Dim value As OutputCacheLocation

value = instance.Location

構文

'宣言
Public Property Location As OutputCacheLocation
public OutputCacheLocation Location { get; }
public:
property OutputCacheLocation Location {
    OutputCacheLocation get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public OutputCacheLocation get_Location ()
CompilerGeneratedAttribute 
public function get Location () : OutputCacheLocation

プロパティ値

コンテンツをキャッシュする場所。

解説

場所は、OutputCacheLocation 列挙体によって定義されます。

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

ターゲット プラットフォーム

参照

リファレンス

OutputCacheAttribute クラス
OutputCacheAttribute のメンバー
System.ServiceModel.DomainServices.Server 名前空間