IQueryAmbient.IsAmbientPropertyAvailable(String) 方法

定義

查詢是否可以將指定的具名屬性視為目前範圍中的環境屬性。

public:
 bool IsAmbientPropertyAvailable(System::String ^ propertyName);
public bool IsAmbientPropertyAvailable (string propertyName);
abstract member IsAmbientPropertyAvailable : string -> bool
Public Function IsAmbientPropertyAvailable (propertyName As String) As Boolean

參數

propertyName
String

要檢查環境狀態之屬性的名稱。

傳回

如果可將所要求的屬性視為環境屬性則為 true,否則為 false

適用於