共用方式為


SqlCacheDependencyDatabaseCollection.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[]

包含集合索引鍵的字串陣列。

範例

下列程式碼範例示範如何使用 AllKeys 屬性。


object[] collectionKeys = sqlCdds.AllKeys;
Dim collectionKeys As String() = sqlCdds.AllKeys

適用於