NameForm.TryGetName Method (IWin32Window, String, String%)
Determines a value that indicates the name to get.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Function TryGetName ( _
owner As IWin32Window, _
title As String, _
ByRef value As String _
) As Boolean
'Usage
Dim owner As IWin32Window
Dim title As String
Dim value As String
Dim returnValue As Boolean
returnValue = NameForm.TryGetName(owner, _
title, value)
public static bool TryGetName(
IWin32Window owner,
string title,
ref string value
)
public:
static bool TryGetName(
IWin32Window^ owner,
String^ title,
String^% value
)
static member TryGetName :
owner:IWin32Window *
title:string *
value:string byref -> bool
public static function TryGetName(
owner : IWin32Window,
title : String,
value : String
) : boolean
Parameters
- owner
Type: System.Windows.Forms.IWin32Window
The owner of the form.
- title
Type: System.String
A string that represents the title of the control.
- value
Type: System.String%
A string representing the value of the control.
Return Value
Type: System.Boolean
True if the value has a name; otherwise, false.
See Also