IsSharedParameter

bool IsSharedParameter(this Element element, string paramName)

Determines whether a named parameter is a shared parameter (non-empty GUID).

Parameters

  • elementElement

    The element to inspect.

  • paramNamestring

    The parameter display name.

Returns: True if shared; otherwise false.

Example

bool shared = element.IsSharedParameter("MySharedParam");