Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IQueryAmbient.IsAmbientPropertyAvailable Method

Application::IQueryAmbient::IsAmbientPropertyAvailable Method

.NET Framework 4.6 and 4.5

Queries for whether a specified ambient property is available in the current scope.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

private:
virtual bool IsAmbientPropertyAvailable(
	String^ propertyName
) sealed = IQueryAmbient::IsAmbientPropertyAvailable

Parameters

propertyName
Type: System::String

The name of the requested ambient property.

Return Value

Type: System::Boolean
true if the requested ambient property is available; otherwise, false.

Implements

IQueryAmbient::IsAmbientPropertyAvailable(String)

This member is an explicit interface member implementation. It can be used only when the Application instance is cast to an IQueryAmbient interface.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft