OutputCacheProfileCollection.AllKeys 属性

定义

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

适用于