カスタム表示ラベルの使用方法

Salesforceのカスタム表示ラベルを試してみました。
apexやVisualforceから設定したラベルのテキスト値を取得できます。

設定値の例

f:id:MNakayama:20160126235045j:plain

Visualforceで使用する場合の例

<apex:page showHeader="true" sidebar="true">
    <h1>{!$Label.HelloWorldLabel}</h1>
</apex:page>

f:id:MNakayama:20160126235051j:plain

Apexで使用する場合の例

System.debug(Label.HelloWorldLabel);

・リファレンス
https://help.salesforce.com/HTViewHelpDoc?id=cl_about.htm&language=ja