IQueryAmbient.IsAmbientPropertyAvailable Method

FrameworkTemplate.IQueryAmbient.IsAmbientPropertyAvailable Method (String)

.NET Framework (current version)
 

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

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

Private Function IsAmbientPropertyAvailable (
	propertyName As String
) As Boolean
	Implements 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.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft