Visual Basic (Declaration) | |
---|---|
Protected Overloads Function IsObjectInScope( _ ByVal item As PersistableObject _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PersistableObject Dim item As PersistableObject Dim value As Boolean value = instance.IsObjectInScope(item) |
C# | |
---|---|
protected bool IsObjectInScope( PersistableObject item ) |
C++/CLI | |
---|---|
protected: bool IsObjectInScope( PersistableObject^ item ) |
Parameters
- item
- Original item instance to evaluate.
Return Value
Returns true if the object or ancestors are in scope.
The item identifier will be used to determine if the object is in scope.
If the item is not in scope, it will move on to the container of item and re-evaluate the container.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2