C# 클래스 Revit.SDK.Samples.ProjectInfo.CS.WrapperConverter

Type converter for wrapper classes
상속: System.ComponentModel.ExpandableObjectConverter
파일 보기 프로젝트 열기: AMEE/revit

공개 메소드들

메소드 설명
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