Udostępnij za pośrednictwem


WorkspaceVisualNodeBase.GetDefaultSelectionLength(String) Method

Definition

get the default selection length for rename box (aka files will select the text before the last ".")

public:
 virtual int GetDefaultSelectionLength(System::String ^ label);
public:
 virtual int GetDefaultSelectionLength(Platform::String ^ label);
 virtual int GetDefaultSelectionLength(std::wstring const & label);
public virtual int GetDefaultSelectionLength (string label);
abstract member GetDefaultSelectionLength : string -> int
override this.GetDefaultSelectionLength : string -> int
Public Overridable Function GetDefaultSelectionLength (label As String) As Integer

Parameters

label
String

the current name

Returns

the desired selected area length

Applies to