System.ComponentModel.TypeDescriptor.GetClassName C# (CSharp) Method

GetClassName() public static method

Gets the name of the class for the specified type.
public static GetClassName ( Type componentType ) : string
componentType System.Type
return string
        public static string GetClassName(Type componentType)
        {
            return GetDescriptor(componentType, "componentType").GetClassName();
        }

Same methods

TypeDescriptor::GetClassName ( object component ) : string
TypeDescriptor::GetClassName ( object component, bool noCustomTypeDesc ) : string

Usage Example

コード例 #1
0
 public string GetClassName() => NativeTypeDesc.GetClassName(_entityType, true);