Version

StaticPropertyResourceKey Constructor

Initializes a new instance of the StaticPropertyResourceKey class.
Syntax
'Declaration
 
Public Function New( _
   ByVal type As Type, _
   ByVal propertyName As String _
)
public StaticPropertyResourceKey( 
   Type type,
   string propertyName
)

Parameters

type
The type of the class that exposes a static read-only property or field of type ResourceKey.
propertyName
The name of the static read-only property or field (of type ResourceKey) exposed by type.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionType is null
System.ArgumentNullExceptionpropertyName is null
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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