TypeDescriptor.SetDefaultValue, méthode (Microsoft.Office.Server.ApplicationRegistry.Administration)
Sets a default value for this type descriptor for a method instance.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Sub SetDefaultValue ( _
methodInstanceId As UInteger, _
defaultValue As Object _
)
'Utilisation
Dim instance As TypeDescriptor
Dim methodInstanceId As UInteger
Dim defaultValue As Object
instance.SetDefaultValue(methodInstanceId, defaultValue)
public void SetDefaultValue (
uint methodInstanceId,
Object defaultValue
)
Paramètres
- methodInstanceId
The ID of the method instance.
- defaultValue
An object containing the default value.
Voir aussi
Référence
TypeDescriptor, classe
Membres TypeDescriptor
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms