ServerStub.HasProperty - Méthode
Returns whether a property exists for a derived ServerStub implementation.
Espace de noms : Microsoft.SharePoint.Client
Assembly : Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)
Syntaxe
'Déclaration
Protected Friend Overridable Function HasProperty ( _
propName As String, _
valueObject As Boolean _
) As Boolean
'Utilisation
Dim propName As String
Dim valueObject As Boolean
Dim returnValue As Boolean
returnValue = Me.HasProperty(propName, _
valueObject)
protected internal virtual bool HasProperty(
string propName,
bool valueObject
)
Paramètres
propName
Type : System.StringThe name of the property to check.
valueObject
Type : System.BooleanIndicates whether to look for the property as one that returns scalar values or one that returns objects. If true, this method will return true only if the property exists and returns scalar values. If false, this method will return true only if the property exists and returns object values.
Valeur renvoyée
Type : System.Boolean
true if the type supports the property; otherwise, false.