Condividi tramite


Costruttore LocalizedPropertyResourcesAttribute (String, Boolean)

Initializes a new instance of the LocalizedPropertyResourcesAttribute class using the specified resources name. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    resourcesName As String, _
    useDefaultKeys As Boolean _
)
'Utilizzo
Dim resourcesName As String
Dim useDefaultKeys As Boolean

Dim instance As New LocalizedPropertyResourcesAttribute(resourcesName, _
    useDefaultKeys)
public LocalizedPropertyResourcesAttribute(
    string resourcesName,
    bool useDefaultKeys
)
public:
LocalizedPropertyResourcesAttribute(
    String^ resourcesName, 
    bool useDefaultKeys
)
new : 
        resourcesName:string * 
        useDefaultKeys:bool -> LocalizedPropertyResourcesAttribute
public function LocalizedPropertyResourcesAttribute(
    resourcesName : String, 
    useDefaultKeys : boolean
)

Parametri

  • resourcesName
    Tipo: System. . :: . .String
    The name of the resources that contain localized property category and name strings.
  • useDefaultKeys
    Tipo: System. . :: . .Boolean
    true to use the keys by default; false to retrieve the keys as attributes.