EventSource.GetName(Type) 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.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.