|
AssemblyExtensionsShortName Method
|
Returns only assembly name and version from full assembly name.
Namespace: GSF.ReflectionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntaxpublic static string ShortName(
this Assembly assemblyInstance
)
<ExtensionAttribute>
Public Shared Function ShortName (
assemblyInstance As Assembly
) As String
public:
[ExtensionAttribute]
static String^ ShortName(
Assembly^ assemblyInstance
)
[<ExtensionAttribute>]
static member ShortName :
assemblyInstance : Assembly -> string
GSF.Reflection.AssemblyExtensions.ShortName = function(assemblyInstance);
View SourceParameters
- assemblyInstance Assembly
- An Assembly to get the short name of.
Return Value
StringThe assembly name and version from the full assembly name.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Assembly. 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