TValue
Attribute value type.
Platform Core .NET Assemblies API
GetAttribute<TValue> Method
See Also  Send Feedback
Terrasoft.File.Abstractions.Metadata Namespace > FileMetadata Class : GetAttribute<TValue> Method
name
Attribute name to get.
defaultValue
Attribute default value to return.

Glossary Item Box

Gets an additional file attribute value or default value by name.

Syntax

 
C#
 
 

Parameters

name
Attribute name to get.
defaultValue
Attribute default value to return.

Type Parameters

TValue
Attribute value type.

Return Value

Attribute value or default value.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2021.