ExtensionWindow.TryFindElement Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Finds the element associated with the specified name defined within this template.
Namespace: System.Activities.Design.View
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Function TryFindElement ( _
elementName As String, _
<OutAttribute> ByRef element As Object _
) As Boolean
'Usage
Dim instance As ExtensionWindow
Dim elementName As String
Dim element As Object
Dim returnValue As Boolean
returnValue = instance.TryFindElement(elementName, _
element)
public bool TryFindElement(
string elementName,
out Object element
)
public:
bool TryFindElement(
String^ elementName,
[OutAttribute] Object^% element
)
public function TryFindElement(
elementName : String,
element : Object
) : boolean
member TryFindElement :
elementName:string *
element:Object -> bool
Parameters
- elementName
Type: System.String
The string name.
- element
Type: System.Object%
The element where this template is applied.
Return Value
Type: System.Boolean
true if the search is successful; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4