|
AssemblyExtensionsShortName Method
|
Returns only assembly name and version from full assembly name.
Namespace: GSF.ReflectionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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