DisplayNameAttribute Constructor
See Also 
SourceCode.Framework Namespace > DisplayNameAttribute Class : DisplayNameAttribute Constructor



resourceBaseName
Name of the resource base.
resourceName
Name of the resource.
type
The type.

Glossary Item Box

Initializes a new instance of the DisplayNameAttribute class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal resourceBaseName As String, _
   ByVal resourceName As String, _
   ByVal type As Type _
)
Visual Basic (Usage)Copy Code
Dim resourceBaseName As String
Dim resourceName As String
Dim type As Type
 
Dim instance As New DisplayNameAttribute(resourceBaseName, resourceName, type)
C# 
public DisplayNameAttribute( 
   string resourceBaseName,
   string resourceName,
   Type type
)
C++/CLI 
public:
DisplayNameAttribute( 
   String^ resourceBaseName,
   String^ resourceName,
   Type^ type
)

Parameters

resourceBaseName
Name of the resource base.
resourceName
Name of the resource.
type
The type.

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