Method TryGetPackageInfoForType
TryGetPackageInfoForType(Type, out string, out string)
Obtain package informations from a specific type
Declaration
public static bool TryGetPackageInfoForType(Type type, out string packageName, out string version)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type used to retrieve package information |
string | packageName | The name of the package containing the given type |
string | version | The version number of the package containing the given type. Only Major.Minor will be returned as fix is not used for documentation |
Returns
Type | Description |
---|---|
bool |