Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

090958fa 53e3 b341 590c de26a96fd52a

haplokuon edited this page May 6, 2023 · 1 revision

TryGetCustomVariable Method

netDxf 3.0.0 Library

Gets the header variable associated with the specified name.

Definition

Namespace: netDxf.Header
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public bool TryGetCustomVariable(
	string name,
	out HeaderVariable variable
)

VB

Public Function TryGetCustomVariable ( 
	name As String,
	<OutAttribute> ByRef variable As HeaderVariable
) As Boolean

C++

public:
bool TryGetCustomVariable(
	String^ name, 
	[OutAttribute] HeaderVariable^% variable
)

F#

member TryGetCustomVariable : 
        name : string * 
        variable : HeaderVariable byref -> bool 

Parameters

  String
The name of the header variable to get.
  HeaderVariable
When this method returns, contains the header variable associated with the specified name, if the name is found; otherwise, it contains null.

Return Value

Boolean
True if the list contains a header variable with the specified name; otherwise, false.

See Also

Reference

HeaderVariables Class
netDxf.Header Namespace

Clone this wiki locally