Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields.FieldsHelper.CheckDepthAndRemoveNode C# (CSharp) 메소드

CheckDepthAndRemoveNode() 개인적인 메소드

Checks whether the node is inside a field or should be skipped and then removes it if necessary.
private CheckDepthAndRemoveNode ( Node node ) : void
node Node
리턴 void
        private void CheckDepthAndRemoveNode(Node node)
        {
            if (mFieldDepth > 0 && !mNodesToSkip.Contains(node))
                node.Remove();
        }