Compartilhar via


SPWebPartConnection.IsStatic Property

Gets a value that indicates whether an SPWebPartConnection object is declared in the markup of a Web page, or created programmatically.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property IsStatic As Boolean
    Get
'Usage
Dim instance As SPWebPartConnection
Dim value As Boolean

value = instance.IsStatic
[BrowsableAttribute(false)]
public bool IsStatic { get; }

Property Value

Type: System.Boolean
true indicates that the connection is declared in the page's markup; otherwise, false.

Remarks

This property refers to static connections as defined by the ASP.NET Web Part control set. In ASP.NET, a static connection is declared in the markup of a Web page by using an <asp:WebPartConnection> element.

See Also

Reference

SPWebPartConnection Class

SPWebPartConnection Members

Microsoft.SharePoint.WebPartPages Namespace