Root / Assembly / ARCCore / Class / IP / _Member / TrySetP



DescriptionSet property regardless of whether exists or not.

Note that not relevant for single-value properties like PValue<T>.

Some reasons for FALSE being returned may be like the following:

1) Parameter IKIP found inconsistent at call to TryAssertTypeIntegrity.
(note that all implementing classes of IP should call TryAssertTypeIntegrity in their implementation of this method (TrySetP)).

2) This instance of IP does not accept the given key. This again may have different reasons:

2a) This instance is a 'value only' instance like PValue<T>, simply not accepting properties at all (see also Value).

2b) This instance is a PExact<EnumType> which only accepts keys of a specific -PropertyKeyEnum (like the Banana-class in ARCDoc only accepting keys from BananaP).

2c) TODO: Not implemented. The key is not in a pre-defined collection of keys that this instance accepts (Note: By default, classes like PRich accepts any key).
MethodSignatureBoolean TrySetP(ARCCore.IKIP, System.String ByRef)

4 items

Generated 2020-10-13 11:11:04.327 UTC