PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/Reflection­Helper Class/Reflection­Helper Methods/Reflection­Helper.​Is­Available­In­Target­Framework Method/Reflection­Helper.​Is­Available­In­Target­Framework Method (Type)

ReflectionHelper.IsAvailableInTargetFramework Method (Type)

Determines whether a given Type is available in the target framework of the current project.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static bool IsAvailableInTargetFramework(
	this Type type
)

Parameters

type
Type: System.Type
A declaration that necessarily exists in the build-time framework.

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also