FrameworkElement.IQueryAmbient.IsAmbientPropertyAvailable(String) FrameworkElement.IQueryAmbient.IsAmbientPropertyAvailable(String) FrameworkElement.IQueryAmbient.IsAmbientPropertyAvailable(String) Method

定義

如需這個成員的描述,請參閱 IsAmbientPropertyAvailable(String) 方法。For a description of this member, see the IsAmbientPropertyAvailable(String) method.

 virtual bool System.Windows.Markup.IQueryAmbient.IsAmbientPropertyAvailable(System::String ^ propertyName) = System::Windows::Markup::IQueryAmbient::IsAmbientPropertyAvailable;
bool IQueryAmbient.IsAmbientPropertyAvailable (string propertyName);
Function IsAmbientPropertyAvailable (propertyName As String) As Boolean Implements IQueryAmbient.IsAmbientPropertyAvailable

參數

propertyName
String String String

要求之環境屬性 (Ambient Property) 的名稱。The name of the requested ambient property.

傳回

如果 propertyName 可用則為 true,否則為 falsetrue if propertyName is available; otherwise, false.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 FrameworkElement 執行個體轉換成 IQueryAmbient 介面時,才能使用這個成員。It can be used only when the FrameworkElement instance is cast to an IQueryAmbient interface.

適用於