SiteMapNode.ResourceKey Propriété
Définition
Obtient ou définit la clé de ressource utilisée pour localiser le SiteMapNode.Gets or sets the resource key that is used to localize the SiteMapNode.
public:
property System::String ^ ResourceKey { System::String ^ get(); void set(System::String ^ value); };
public string ResourceKey { get; set; }
member this.ResourceKey : string with get, set
Public Property ResourceKey As String
Valeur de propriété
Chaîne qui contient le nom de la clé de ressource.A string containing the resource key name.
Exceptions
Le nœud est en lecture seule.The node is read-only.
Remarques
L’utilisation de l’accesseur Set de la ResourceKey propriété lorsque la propriété a la valeur entraîne ReadOnly true
une InvalidOperationException exception.Using the set accessor of the ResourceKey property when the ReadOnly property is true
will result in an InvalidOperationException exception. Pour définir le ResourceKey pour un SiteMapNode objet, utilisez le SiteMapNode constructeur.To set the ResourceKey for a SiteMapNode object, use the SiteMapNode constructor.