private void CreatePropVariantFromVectorElement(PropVariant propVar) { //Copy the first vector element to a new PropVariant CopyData(propVar); PropVariantNativeMethods.InitPropVariantFromPropVariantVectorElem(ref this, 0, out propVar); //Overwrite the existing data CopyData(propVar); }