SmartSockets .NET Class Library

TipcOption.ValueEnum Property

Gets the value of the option and verifies it against a list of legal values.

For example, if you have a list of names: "foo", "bar", "baz"; and the value is "baz", then "baz" would be returned. If the value was "whiffle", then an exception would be thrown, since this value does not appear in the list of legal values. The list of legal values is set with addEnumLegalValue.

public virtual string ValueEnum {get;}

Exceptions

Exception TypeCondition
TipcNotFoundException If the value cannot be converted into a valid enum.

See Also

TipcOption Class | TipcOption Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved