| Visual Basic (Declaration) | |
|---|---|
Public Property SelfContained As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool SelfContained {get; set;} | |
Return Value
True if the result is self-contained; otherwise False.Self contained results are those which cannot be treated individually but only as part of the set of child results. If SelfContained is true, then the result can be treated as an independent value. If SelfContained is false, this indicates that the result can only exist as part of a set of results. This value therefore affects the default options which appear on the context menu for the result; for example, if SelfContained is false, then the result cannot be deleted; instead the entire parent result must be deleted, removing all the result siblings.
By default, this property is True, indicating that the most common case is to have a Result which is independent of it's parent and siblings, and can be deleted, refreshed, or hidden, independently.
An example of the SelfContained property being False is one step of a series of turn-by-turn driving directions; an individual step cannot be deleted or hidden as it would make the other sibling results incorrect or nonsensical.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Copy Code