public virtual ZhFeatureBuffer CreateZhFeatureBuffer() { IFeatureBuffer fb = this.FeatureClass.CreateFeatureBuffer(); ZhFeatureBuffer zhfb = new ZhFeatureBuffer(fb); return(zhfb); }
/// <summary> /// 拷贝属性字段 this.Fields->tpObjectZhFeatureBuffer.Fields /// </summary> /// <param name="tpObjectZhFeatureBuffer"></param> public virtual void CopyField(ref ZhFeatureBuffer tpObjectZhFeatureBuffer) { //属性 this.preGetFeatureFieldNames(); foreach (string fdName in this.FieldNames) { if (fdName != "OBJECTID" && fdName != "FID" && this.getFieldValue(fdName) != null) { tpObjectZhFeatureBuffer.setFieldValue(fdName, this.getFieldValue(fdName)); } } }
public virtual void InsertZhFeatureBuffer(IFeatureCursor FeatureCursorInsert, ZhFeatureBuffer ZhfeatBuf) { FeatureCursorInsert.InsertFeature(ZhfeatBuf.pFeatureBuffer); }