Index | General .NET |
GuidAttribute
with a unique GUID valueProgIdAttribute
public
members are accessible under COM (no protected
etc.)new
)
at inheriting interfacenew
are accessible only after specific cast (implement cast methods for that)ref
,
out
)
must be implemented of COM type Variant
(Object
)VARIANT
structure);
known types without equivalent in VBScript are
Byte
andVariant
(Object
)ComVisibleAttribute
of value false
For Each
enumerable support for COM needs direct IEnumerator
GetEnumerator()
method implementation, could be done with IEnumerable
interface with precidence over IEnumerable<T>
(type library exporter give them the DispId
of -4 / 0xFFFFFFFC
for a _NewEnum implementation)Handling arrays out and in with values needs to be of element type Object
,
so Linq
Cast<Object>().ToArray()
would help here and for in correct cast then the incoming elements
MT
for that)CreateObject(...)
(VBA,
VBScript) error will occur when
© SphereSoft.NET, Holger Boskugel, Berlin, Germany spheresoft.net