UserCustomAction.ScriptBlock - Propriété
Gets or sets the value that specifies the ECMAScript to be executed when the custom action is performed.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property ScriptBlock As String
Get
Set
'Utilisation
Dim instance As UserCustomAction
Dim value As String
value = instance.ScriptBlock
instance.ScriptBlock = value
public string ScriptBlock { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the custom action performed.
Remarques
It must be une référence Null (Rien dans Visual Basic) if Location is not “ScriptLink”. This Standard defines the ECMAScript scripting language.