AssemblyIdentity.IsInFramework(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if this assembly is part of the given framework. identifier is “.NETFramework” or “Silverlight”, etc. and the version string looks like this: “4.5” or “v4.5”, or “v4.0.30319" If frameworkVersion is null or empty, return true if this assembly is present in any of the given framework versions If both arguments are null or empty strings, return true if this assembly is present in any of the frameworks
public:
bool IsInFramework(System::String ^ frameworkIdentifier, System::String ^ frameworkVersion);
public bool IsInFramework (string frameworkIdentifier, string frameworkVersion);
member this.IsInFramework : string * string -> bool
Public Function IsInFramework (frameworkIdentifier As String, frameworkVersion As String) As Boolean
Parameters
- frameworkIdentifier
- String
- frameworkVersion
- String