共用方式為


OutputCacheProfileCollection.AllKeys 屬性

定義

OutputCacheProfileCollection 到鑰匙。

public:
 property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()

屬性值

String[]

string包含集合金鑰的陣列。

範例

以下程式碼範例說明如何使用該 AllKeys 屬性。

// Get the keys.
object [] keys = outputCacheProfiles.AllKeys;
' Get the keys.
  Dim keys As String() = _
  outputCacheProfiles.AllKeys

適用於