Bewerken

Share via


EventSource.GetName(Type) Method

Definition

Gets the friendly name of the event source.

public:
 static System::String ^ GetName(Type ^ eventSourceType);
public static string GetName (Type eventSourceType);
static member GetName : Type -> string
Public Shared Function GetName (eventSourceType As Type) As String

Parameters

eventSourceType
Type

The type of the event source.

Returns

The friendly name of the event source. The default is the simple name of the class.

Applies to