GetName Method (IBlockDefinition)

GetName Method (IBlockDefinition) | Send Feedback
See Also Example

Name[out]
  Name of the Block definition

Gets the name of the Block definition.

# Syntax

Visual Basic |
--- | ---
    Function GetName() As System.String

C# |
--- | ---
    System.string GetName()

JavaScript |
--- | ---
    GetName() : String

COM native C++ |
--- | ---
    HRESULT GetName(
       BSTR* Name
    )

C++ |
--- | ---
    DSRESULT GetName(
       dsString* Name
    )

#### Parameters

Name[out] or Return Value
  Name of the Block definition

# 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)
Insert Block, Notes, and Sketch Entities (JavaScript)
Attach Block Definition Annotation to Leader (C#)
Attach Block Definition Annotation to Leader (VB.NET)
Attach Block Definition Annotation to Leader (VBA)
Attach Block Definition Annotation to Leader (JavaScript)

# See Also

####

IBlockDefinition Interface
IBlockDefinition Members

# Availability

DraftSight V1R1