[This is preliminary documentation and is subject to change.]
Gets value indicating if cpecified type is supported for in-line (text node) representation.
Namespace: Tools.XmlT.XPathTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected virtual bool IsSupportedType( Type T ) |
| Visual Basic |
|---|
Protected Overridable Function IsSupportedType ( _ T As Type _ ) As Boolean |
| Visual C++ |
|---|
protected: virtual bool IsSupportedType( Type^ T ) |
| F# |
|---|
abstract IsSupportedType : T:Type -> bool override IsSupportedType : T:Type -> bool |
| JScript |
|---|
protected function IsSupportedType( T : Type ) : boolean |
Parameters
- T
- Type: System..::..Type
Type to be verified
Return Value
Currently following types are supported: String, Char, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Decimal, Double, Single, Boolean, DateTime, TimeSpan, TimeSpanFormattable, Uri, StringBuilder and any type that has IsEnum true
Remarks
Note for inheritors: Supported types are sometimes treated specially sometimes is only ToString()()()() used. In order to control this behavoir overrides SupportedTypeValue(Object)
See for an example.