Compartir a través de


: Method.IsStatic (Propiedad) (Microsoft.Office.Server.ApplicationRegistry.Administration)

Gets a Boolean true or false indicating the method is a static method or instance method.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public Property IsStatic As Boolean
'Uso
Dim instance As Method
Dim value As Boolean

value = instance.IsStatic

instance.IsStatic = value
public bool IsStatic { get; set; }

Valor de propiedad

true or false.

Comentarios

If true, you can execute this method without an entity instance, by calling the Entity.Execute() object model method. If false, you must execute the method in the context of an entity instance, by calling IEntityInstance.Execute().

Finder methods are static.

Vea también

Referencia

Method (Clase)
Method (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Administration (Espacio de nombres)