Select Method (IAttributeInstance)

Select Method (IAttributeInstance) | Send Feedback
See Also Example

Res[out]
  True if the selected BlockAttribute instance was added to or removed from the current selection set, false if not

SelectFlag
  True to add the selected BlockAttribute instance to the current selection set, false to remove the selected BlockAttribute instance from the current selection set

Adds or removes the selected BlockAttribute instance to or from the current selection set.

# Syntax

Visual Basic |
--- | ---
    Function Select( _
       ByVal SelectFlag As System.Boolean _
    ) As System.Boolean

C# |
--- | ---
    System.bool Select(
       System.bool SelectFlag
    )

JavaScript |
--- | ---
    Select(
       SelectFlag : Boolean
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT Select(
       VARIANT_BOOL SelectFlag,
       VARIANT_BOOL* Res
    )

C++ |
--- | ---
    DSRESULT Select(
       bool SelectFlag,
       bool* Res
    )

#### Parameters

SelectFlag
  True to add the selected BlockAttribute instance to the current selection set, false to remove the selected BlockAttribute instance from the current selection set
Res[out] or Return Value
  True if the selected BlockAttribute instance was added to or removed from the current selection set, false if not

# Example

Get and Set Block Definitions, Block Instances, and BlockAttribute Instances (C#)
Get and Set Block Definitions, Block Instances, and BlockAttribute Instances (VB.NET)
Get and Set Block Definitions, Block Instances, and BlockAttribute Instances (VBA)

# See Also

####

IAttributeInstance Interface
IAttributeInstance Members
ISelectionManager::GetSelectedObject Method ()

# Availability

DraftSight V1R1