DisplayTarget.IsSame(DisplayTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether this target object refers to the same underlying hardware target as another target object, by comparing the Adapter and the AdapterRelativeId properties. Since new DisplayTarget objects are created on each call to GetCurrentTargets, this method can be used to match previously discovered targets to newly created targets.
public:
virtual bool IsSame(DisplayTarget ^ otherTarget) = IsSame;
bool IsSame(DisplayTarget const& otherTarget);
public bool IsSame(DisplayTarget otherTarget);
function isSame(otherTarget)
Public Function IsSame (otherTarget As DisplayTarget) As Boolean
Parameters
- otherTarget
- DisplayTarget
Returns
Boolean
bool