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

1b2444ba 115e 8fb3 0ddc 54f507f732a9

haplokuon edited this page May 6, 2023 · 1 revision

TryGetValue Method

netDxf 3.0.0 Library

Gets the DimensionStyleOverride associated of the specified type.

Definition

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

C#

public bool TryGetValue(
	DimensionStyleOverrideType type,
	out DimensionStyleOverride value
)

VB

Public Function TryGetValue ( 
	type As DimensionStyleOverrideType,
	<OutAttribute> ByRef value As DimensionStyleOverride
) As Boolean

C++

public:
virtual bool TryGetValue(
	DimensionStyleOverrideType type, 
	[OutAttribute] DimensionStyleOverride^% value
) sealed

F#

abstract TryGetValue : 
        type : DimensionStyleOverrideType * 
        value : DimensionStyleOverride byref -> bool 
override TryGetValue : 
        type : DimensionStyleOverrideType * 
        value : DimensionStyleOverride byref -> bool 

Parameters

  DimensionStyleOverrideType
The type whose value to get.
  DimensionStyleOverride
When this method returns, the DimensionStyleOverride associated of the specified type, if the tag is found; otherwise, null. This parameter is passed uninitialized.

Return Value

Boolean
True if the current dictionary contains an DimensionStyleOverride of the specified type; otherwise, false.

Implements

IDictionary(TKey, TValue).TryGetValue(TKey, TValue)

See Also

Reference

DimensionStyleOverrideDictionary Class
netDxf.Collections Namespace

Clone this wiki locally