PathComponentsReplaceComponent Method

Replaces the component at componentIndex with newValue

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public PathComponents ReplaceComponent(
	int componentIndex,
	string newValue
)

Parameters

componentIndex  Int32
Index of component to replace. May be negative, in which case the components are counted from the end (e.g., -1 is the last component).
newValue  String
New value of component

Return Value

PathComponents

See Also