WorkspaceVisualNodeBase.GetDefaultSelectionLength(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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