C# Класс Revit.SDK.Samples.ProjectInfo.CS.WrapperConverter

Type converter for wrapper classes
Наследование: System.ComponentModel.ExpandableObjectConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

Can be converted to string

ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object

Converts to string. If value is null, convert it to "(null)". if value has a "Name" property, returns its name. otherwise, returns "(...)".

Описание методов

CanConvertTo() публичный Метод

Can be converted to string
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

ConvertTo() публичный Метод

Converts to string. If value is null, convert it to "(null)". if value has a "Name" property, returns its name. otherwise, returns "(...)".
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System
value object
destinationType System.Type
Результат object